From 1644e7df33b40b6008893f160ed39f3cbe6d626a Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Wed, 6 Jul 2016 06:00:08 -0400 Subject: Use tar instead of zip for builds --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 59ecc9c..a94149f 100644 --- a/Rakefile +++ b/Rakefile @@ -20,8 +20,8 @@ task :build do ENV["GOARCH"] = env[:arch] puts "Building #{env[:goos]} #{env[:arch]}" `GOOS=#{env[:goos]} GOARCH=#{env[:arch]} go build -v -o dist/#{Version}/todolist` - puts "Zipping #{env[:goos]} #{env[:arch]}" - `zip dist/#{Version}/todolist_#{env[:goos]}_#{env[:arch]}.zip dist/#{Version}/todolist` + puts "Tarring #{env[:goos]} #{env[:arch]}" + `tar -czvf dist/#{Version}/todolist_#{env[:goos]}_#{env[:arch]}.tar.gz dist/#{Version}/todolist` puts "Removing dist/#{Version}/todolist" `rm -rf dist/#{Version}/todolist` end -- cgit v1.3