Rakefile in trinidad_daemon_extension-0.2.7 vs Rakefile in trinidad_daemon_extension-0.2.8
- old
+ new
@@ -104,9 +104,12 @@
sh "mkdir -p pkg"
sh "gem build #{gemspec_file}"
sh "mv #{gem_file} pkg"
end
+task :install => :build do
+ sh "gem install pkg/#{name}-#{version}.gem"
+end
task :gemspec => :validate do
# read spec file and split out manifest section
spec = File.read(gemspec_file)
head, manifest, tail = spec.split(" # = MANIFEST =\n")