Skip to content

Commit

Permalink
chore: πŸ€– ignore binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewonkong committed Feb 17, 2024
1 parent 2a3e7b8 commit 60b26f5
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
vendor
go_build_gitty.exe
go_build_gitty.exe
comp
dist
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ ref:
.PHONY: ref

build:
@GOOS=linux GOARCH=amd64 go build -o build/gitty-intel
@GOARCH=arm64 go build -o build/gitty-arm
@GOOS=windows GOARCH=amd64 go build -o build/gitty-win.exe
@GOOS=linux GOARCH=amd64 go build -o dist/intel/gitty
@GOARCH=arm64 go build -o dist/arm/gitty
@GOOS=windows GOARCH=amd64 go build -o dist/win/gitty.exe
.PHONY: build

comp:
@tar -czvf bin/gitty-macos-intel.tar.gz build/gitty-intel
@tar -czvf bin/gitty-macos-arm.tar.gz build/gitty-arm
@tar -czvf bin/gitty-windows.tar.gz build/gitty-win.exe
@tar -czvf comp/gitty-macos-intel.tar.gz dist/intel/gitty
@tar -czvf comp/gitty-macos-arm.tar.gz dist/arm/gitty
@tar -czvf comp/gitty-windows.tar.gz dist/win/gitty.exe
Binary file removed bin/gitty-macos-arm.tar.gz
Binary file not shown.
Binary file removed bin/gitty-windows.tar.gz
Binary file not shown.
Binary file removed build/gitty-arm
Binary file not shown.
Binary file removed build/gitty-win
Binary file not shown.
Binary file added comp/gitty-macos-arm.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added comp/gitty-windows.tar.gz
Binary file not shown.
Binary file renamed build/gitty-darwin β†’ dist/arm/gitty
Binary file not shown.
Binary file renamed build/gitty-intel β†’ dist/intel/gitty
Binary file not shown.
Binary file renamed build/gitty-win.exe β†’ dist/win/gitty.exe
Binary file not shown.

0 comments on commit 60b26f5

Please sign in to comment.