diff --git a/.gitignore b/.gitignore index c195757..723c473 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ openai-on-wechat run.log token.json config.json -prompt.txt \ No newline at end of file +prompt.txt +openai-on-wechat.zip \ No newline at end of file diff --git a/Makefile b/Makefile index 4886373..e598315 100644 --- a/Makefile +++ b/Makefile @@ -3,4 +3,6 @@ run: ./openai-on-wechat build: - ./build.sh \ No newline at end of file + go mod tidy + GOOS=linux GOARCH=amd64 go build -o openai-on-wechat + zip openai-on-wechat.zip openai-on-wechat config.json.example prompt.txt.example \ No newline at end of file diff --git a/build.sh b/build.sh deleted file mode 100755 index 97158b0..0000000 --- a/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -go mod tidy -rm -rf openai-on-wechat - -GOOS=linux GOARCH=amd64 go build -o openai-on-wechat