summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]