Skip to content

Commit

Permalink
solve main
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Nov 22, 2023
1 parent 1b4f78c commit 739124b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh
#
echo "is building()"
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -a -o go-scaffold ./...
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -a -o main .
mkdir -p /tmp/bin
pwd
ls -al
tar -czvf /tmp/bin/go-scaffold.tar.gz --transform='s|.*/||' ./scaffold
tar -czvf /tmp/bin/go-scaffold.tar.gz --transform='s|.*/||' ./main
echo "builded()"
#tar --ignore-zeros -xf
ls -l /tmp/bin
Expand Down

0 comments on commit 739124b

Please sign in to comment.