forked from Layr-Labs/eigenda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into blob-verify-util
- Loading branch information
Showing
17 changed files
with
31,768 additions
and
2,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
build: | ||
build: | ||
cd .. && go build -o ./bin/dataapi ./cmd/dataapi | ||
|
||
test: | ||
go test -v . | ||
go test -v ./... | ||
|
||
generate-swagger: | ||
@echo " > Generating swagger..." | ||
swag init -g ../cmd/dataapi/main.go --parseDependency | ||
swag fmt | ||
generate-swagger-v1: | ||
@echo " > Generating v1 swagger..." | ||
swag init -g ../cmd/dataapi/main.go --parseDependency --output docs/v1 --instanceName V1 --packageName v1 --parseDepth 0 --exclude ./v2 --dir . | ||
swag fmt --dir . --exclude ./v2/server_v2.go | ||
|
||
generate-swagger-v2: | ||
@echo " > Generating v2 swagger..." | ||
swag init -g swagger.go --parseDependency --output docs/v2 --instanceName V2 --packageName v2 --dir ./v2 --parseDepth 0 | ||
swag fmt --dir ./v2 | ||
|
||
generate-swagger: generate-swagger-v1 generate-swagger-v2 |
Oops, something went wrong.