mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 23:20:26 +08:00
阶段性提交
This commit is contained in:
11
build/build.sh
Executable file
11
build/build.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ROOT=`dirname $0`
|
||||
|
||||
# building installer
|
||||
architects=( "amd64" "386" )
|
||||
for arch in "${architects[@]}"
|
||||
do
|
||||
# TODO support arm, mips ...
|
||||
env GOOS=linux GOARCH=${arch} go build --ldflags="-s -w" -o $ROOT/installers/installer-helper-linux-${arch} $ROOT/../cmd/installer-helper/main.go
|
||||
done
|
||||
1
build/deploy/.gitignore
vendored
Normal file
1
build/deploy/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.zip
|
||||
@@ -18,6 +18,7 @@ pub ${ADMIN_PROJECT} node_cluster
|
||||
pub ${ADMIN_PROJECT} node_grant
|
||||
pub ${ADMIN_PROJECT} node_ip_address
|
||||
pub ${ADMIN_PROJECT} server
|
||||
pub ${ADMIN_PROJECT} api_node
|
||||
|
||||
cp ../internal/rpc/pb/model_*.go ${ADMIN_PROJECT}/internal/rpc/pb/
|
||||
|
||||
|
||||
1
build/installers/.gitignore
vendored
Normal file
1
build/installers/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
installer-*
|
||||
Reference in New Issue
Block a user