mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
refactor: refactor eiblog
This commit is contained in:
@@ -5,7 +5,7 @@ set -e
|
||||
_tag="$1"
|
||||
_arch=$(go env GOARCH)
|
||||
|
||||
for file in pkg/core/*; do
|
||||
for file in cmd/*; do
|
||||
app="$(basename $file)";
|
||||
# tar platform
|
||||
for os in linux darwin windows; do
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
for file in pkg/core/*; do
|
||||
for file in cmd/*; do
|
||||
if test -d $file; then
|
||||
cd $file && swag init -g api.go;
|
||||
cd $file && swag init -g main.go;
|
||||
cd -;
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user