Skip to content

Commit

Permalink
fix: swago
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Nov 29, 2024
1 parent 037a131 commit 2feaca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: generate swagger docs
run: |
go install github.com/swaggo/swag/cmd/swag@latest
swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --parseGoList=false
swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --exclude ./cmd/dashboard/user-dist --exclude ./cmd/dashboard/admin-dist --parseGoList=false
- name: Unit test
run: |
Expand Down
2 changes: 1 addition & 1 deletion script/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --requiredByDefault
swag init --pd -d . -g ./cmd/dashboard/main.go -o ./cmd/dashboard/docs --exclude ./cmd/dashboard/user-dist --exclude ./cmd/dashboard/admin-dist --requiredByDefault
protoc --go-grpc_out="require_unimplemented_servers=false:." --go_out="." proto/*.proto
rm -rf ../agent/proto
cp -r proto ../agent

0 comments on commit 2feaca5

Please sign in to comment.