Skip to content

Commit

Permalink
Smaller binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Nv7-GitHub committed Jul 31, 2021
1 parent f3b476b commit d1a84fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build:
cp -a frontend/dist/. backend/dist

# Build Go
cd backend && go build -tags="prod" -o CryptoMail && cd ..
cd backend && go build -ldflags="-s -w" -tags="prod" -o CryptoMail && cd ..
cp backend/CryptoMail CryptoMail

# Cleanup
Expand Down

0 comments on commit d1a84fa

Please sign in to comment.