Skip to content

Commit

Permalink
Make rake :zip separate task
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Sep 15, 2015
1 parent 464054a commit 30f4065
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build = 'Overview'

task default: :build
task build: [:reset_build_directory, :compile_overviews]
task travis: [:build, :zip]

task :reset_build_directory do
FileUtils.remove_entry_secure build if Dir.exist? build
Expand All @@ -23,7 +24,7 @@ task :compile_overviews do
end
end

task travis: [:build] do
task :zip do
system 'zip', '-r', "eve-overview-v#{File.read('VERSION').strip}.zip",
build, 'README.md', 'LICENSE.txt', 'CHANGELOG.md', 'VERSION'
end
Expand Down

0 comments on commit 30f4065

Please sign in to comment.