Rakefile in packer-config-0.0.3 vs Rakefile in packer-config-0.0.4
- old
+ new
@@ -19,11 +19,11 @@
RuboCop::RakeTask.new(:lint)
task :default => [:lint, 'test:spec']
-task :build => ['test:spec'] do
+task :build => [:lint, 'test:spec', :clean] do
`gem build packer-config.gemspec`
end
namespace :test do
RSpec::Core::RakeTask.new(:spec) do |t|
@@ -42,6 +42,6 @@
FileUtils.rm_f(f)
end
Dir.glob('spec/integration/builds/*').select {|f| File.directory? f}.each do |d|
FileUtils.rm_rf(d)
end
-end
\ No newline at end of file
+end