diff options
| author | Zack Hobson | 2013-11-20 09:47:12 -0800 | 
|---|---|---|
| committer | Zack Hobson | 2013-11-20 09:47:48 -0800 | 
| commit | 72667db3a5e5961bc0b2718436b5c8427efe3434 (patch) | |
| tree | 3b2d4f1fdfa3ecfa541972e3afc2760d553f73b9 | |
| parent | c4e99fd196a8134ec7885bcb227ab2829e46d7c3 (diff) | |
| download | hcl-72667db3a5e5961bc0b2718436b5c8427efe3434.tar.bz2 | |
rakefile: describe install task
| -rw-r--r-- | Rakefile | 11 | 
1 files changed, 6 insertions, 5 deletions
| @@ -1,17 +1,18 @@  $:.unshift(File.dirname(__FILE__) + '/lib')  require 'hcl' +desc 'install the hcl command' +task :install do +  system 'gem build hcl.gemspec' +  system "gem install hcl-#{HCl::VERSION}.gem" +end +  require 'rake/testtask'  Rake::TestTask.new do |t|    t.libs << 'test'    t.test_files = FileList['test/*_test.rb']  end -task :install do -  system 'gem build hcl.gemspec' -  system "gem install hcl-#{HCl::VERSION}.gem" -end -  require 'yard'  YARD::Rake::YardocTask.new do |t|    t.options = %w[--files CHANGELOG] | 
