Sha256: 9ef676c557519b59f296b48cc04047d05d575a9fbe88715295c020cff9954929
Contents?: true
Size: 715 Bytes
Versions: 1
Compression:
Stored size: 715 Bytes
Contents
require "rbconfig" sudo = Process.pid != 0 && RbConfig::CONFIG["host_os"] !~ /mswin|mingw/ ? "sudo" : "" desc "build a gem file" task :release do run "gem build tagen.gemspec" run "gem push *.gem" run "#{sudo} gem install *.gem" run "rm *.gem" end desc "install a gem file" task :install do run "gem build tagen.gemspec" run "#{sudo} gem install *.gem" run "rm *.gem" end desc "autotest with watchr" task :test do run "watchr tagen.watchr" end desc "testing the libraray" namespace :test do task :all do run "rspec spec" end end desc "run yard server --reload" task :doc do run "yard server --reload" end desc "clean up" task :clean do run "rm *.gem" end def run cmd puts cmd system cmd end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tagen-2.0.0 | Rakefile |