Sha256: 098ebc3749f228d5484fcc4d1d5b61dea433a0f9babedac74e9a6546b9bd60e9
Contents?: true
Size: 892 Bytes
Versions: 3
Compression:
Stored size: 892 Bytes
Contents
# encoding: utf-8 $:.push File.expand_path("../lib", __FILE__) require 'bundler' require 'bundler/setup' require 'thor/rake_compat' class Default < Thor include Thor::RakeCompat Bundler::GemHelper.install_tasks desc "build", "Build Solve-#{Solve::VERSION}.gem into the pkg directory" def build Rake::Task["build"].invoke end desc "install", "Build and install Solve-#{Solve::VERSION}.gem into system gems" def install Rake::Task["install"].invoke end desc "release", "Create tag v#{Solve::VERSION} and build and push Solve-#{Solve::VERSION}.gem to Rubygems" def release Rake::Task["release"].invoke end desc "spec", "Run RSpec code examples" def spec exec "rspec --color --format=documentation spec" end desc "spec", "Run RSpec code examples" def nogecode_spec exec "rspec -t '~gecode' --color --format=documentation spec" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solve-3.1.1 | Thorfile |
solve-3.1.0 | Thorfile |
solve-3.0.1 | Thorfile |