Sha256: 4a380756b0b7598b96bd7d6cfa277e165452bf7d0203c5d314bbf2a8b592ba60
Contents?: true
Size: 640 Bytes
Versions: 2
Compression:
Stored size: 640 Bytes
Contents
# frozen_string_literal: true require "bundler/gem_tasks" desc "Run Test" task :test do tests = Dir.glob("./test/test_*.rb") tests.each do |t| system("ruby #{t}") end end desc "Build Rdoc" task :build_rdoc do system("rdoc build") end desc "Build Docker image" task :build_docker do system("docker build . -t mark24code/convert2ascii:latest") end desc "Push Docker image" task :push_docker do system("docker push mark24code/convert2ascii:latest") end desc "Run in docker" task :run_in_docker do system("docker run -it -v $(pwd):/app mark24code/convert2ascii bash -c \"cd /app && exec bash\"") end task default: %i[]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
convert2ascii-0.2.1 | Rakefile |
convert2ascii-0.1.1 | Rakefile |