chore(ci/cd): refine scripts and docs (#36)

* chore(ci/cd): refine scripts and docs

* text(server): fix incorrect server port
This commit is contained in:
Hexxa 2021-01-30 22:03:59 +08:00 committed by GitHub
parent e87a342c93
commit ede6c239f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 81 additions and 296 deletions

8
scripts/build Executable file
View file

@ -0,0 +1,8 @@
export QSROOT=`pwd`
rm -r dist && mkdir dist
cd cmd
go build -o $QSROOT/dist/quickshare
cd $QSROOT/src/client/web
yarn build
cp -r $QSROOT/public $QSROOT/dist
cd $QSROOT