Feat(ktm-booking): Initial commit
Some checks failed
ktm-booking-bot/ktm-booking-bot/pipeline/head Something is wrong with the build of this commit
Some checks failed
ktm-booking-bot/ktm-booking-bot/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
16
scripts/build.sh
Executable file
16
scripts/build.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Install goswag
|
||||
go install github.com/swaggo/swag/cmd/swag@v1.8.4
|
||||
|
||||
# go to backend directory
|
||||
cd backend
|
||||
|
||||
# rebuild swagger docs
|
||||
swag init --dir cmd/server/ --parseDependency
|
||||
|
||||
# build binary
|
||||
go build git.samuelpua.com/telboon/ktm-train-bot/backend/cmd/server
|
||||
|
||||
# go to base directory
|
||||
cd ..
|
||||
Reference in New Issue
Block a user