feat: 将sshsvc移除
This commit is contained in:
@@ -83,7 +83,6 @@ if [ -n "$BuildApi" ]; then
|
||||
find ./features -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
|
||||
find ./lib -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
|
||||
find ./src -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
|
||||
find ./sshsvc -type f -name '*.go' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
|
||||
find ./build/vendor -type f -name '*.sql' -exec sed -i 's/[一-龥、,。?!“”()【】·]//g' {} +
|
||||
find ./build/vendor -type f -name '*.sql' -exec sed -i "s/'true' WHERE \`config_id\`/'false' WHERE \`config_id\`/g" {} +
|
||||
find ./build/vendor -type f -name '*.sql' -exec sed -i "s/'1' WHERE \`menu_id\`/'0' WHERE \`menu_id\`/g" {} +
|
||||
@@ -96,12 +95,6 @@ if [ -n "$BuildApi" ]; then
|
||||
cp -rf omc $output/omc
|
||||
echo "===> go build omc copy to $output"
|
||||
|
||||
# sshsvc
|
||||
cd $ApiDir/sshsvc
|
||||
make
|
||||
cp -rf sshsvc $output/sshsvc
|
||||
echo "===> go build sshsvc copy to $output"
|
||||
|
||||
# Vendor Database
|
||||
output=$BuildDir/linux/usr/local/etc/omc
|
||||
dirs="database default vendor"
|
||||
|
||||
Reference in New Issue
Block a user