diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-07-06 06:00:08 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-07-06 06:00:08 -0400 |
| commit | 1644e7df33b40b6008893f160ed39f3cbe6d626a (patch) | |
| tree | c3e8c3121243481c58df71468893af7ce3dc0ece /Rakefile | |
| parent | 953b9532853500dc68ce6a3f95b79bd1bc8bdcd8 (diff) | |
Use tar instead of zip for builds
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
