Files
ktm-booking-bot/scripts/build.sh
Samuel Pua 7cf10b07d4
Some checks failed
ktm-booking-bot/ktm-booking-bot/pipeline/head Something is wrong with the build of this commit
Feat(ktm-booking): Initial commit
2022-09-27 02:50:07 +08:00

17 lines
303 B
Bash
Executable File

#! /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 ..