Skip to content

Commit 58e35ef

Browse files
committed
build script
1 parent 8b691f7 commit 58e35ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wasmbuild.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
2+
export AWS_ACCESS_KEY_ID=""
3+
export AWS_SECRET_ACCESS_KEY=""
24
GOOS=js GOARCH=wasm go build -a -gcflags=all="-l -B -wb=false" -ldflags="-w -s" -o static/main.wasm
3-
cp static/main.wasm /home/i3nux-mint/repos/liveapi/src/views/dist
5+
# cp static/main.wasm /home/i3nux-mint/repos/liveapi/src/views
6+
aws s3 cp static/main.wasm s3://temp-2d/temp/main.wasm --region ap-south-1
47

58

0 commit comments

Comments
 (0)