summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZack Hobson2013-11-20 09:47:12 -0800
committerZack Hobson2013-11-20 09:47:48 -0800
commit72667db3a5e5961bc0b2718436b5c8427efe3434 (patch)
tree3b2d4f1fdfa3ecfa541972e3afc2760d553f73b9
parentc4e99fd196a8134ec7885bcb227ab2829e46d7c3 (diff)
downloadhcl-72667db3a5e5961bc0b2718436b5c8427efe3434.tar.bz2
rakefile: describe install task
-rw-r--r--Rakefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index ccfa277..7223fa0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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]