Skip to content

Commit

Permalink
Fix build script (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
harryzcy authored Jul 17, 2022
1 parent 56d9928 commit 2f0b184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apiFuncs=("list" "get" "trash" "untrash" "delete" "create" "save" "send")
for i in "${!apiFuncs[@]}";
do
func="${apiFuncs[$i]}"
env GOOS=linux go build -ldflags="-s -w" -o "bin/api/emails/${func}" "api/emails/${func}/*"
env GOOS=linux go build -ldflags="-s -w" -o bin/api/emails/"${func}" api/emails/"${func}"/*
done

env GOOS=linux go build -ldflags="-s -w" -o bin/functions/emailReceive functions/emailReceive/*

0 comments on commit 2f0b184

Please sign in to comment.