Add swag cmd install in install-back justfile
Signed-off-by: Asai Neko <sugar@localhost.localdomain>
This commit is contained in:
1
justfile
1
justfile
@@ -27,6 +27,7 @@ build-back:
|
|||||||
{{ go_cmd }} build -o {{ server_exec_path }}{{ if os() == "windows" { ".exe" } else { "" } }} {{ server_entry }}
|
{{ go_cmd }} build -o {{ server_exec_path }}{{ if os() == "windows" { ".exe" } else { "" } }} {{ server_entry }}
|
||||||
|
|
||||||
install-back:
|
install-back:
|
||||||
|
go install github.com/swaggo/swag/cmd/swag@latest
|
||||||
cd {{ project_dir }} && go mod tidy
|
cd {{ project_dir }} && go mod tidy
|
||||||
|
|
||||||
run-back:
|
run-back:
|
||||||
|
|||||||
Reference in New Issue
Block a user