Skip to content

Instantly share code, notes, and snippets.

@Daniel1984
Created April 22, 2020 18:09
Show Gist options
  • Save Daniel1984/643a2f0dfd1191267672cdd79ed7cdf8 to your computer and use it in GitHub Desktop.
Save Daniel1984/643a2f0dfd1191267672cdd79ed7cdf8 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
go run cmd/dbmigrate/main.go
go run cmd/dbmigrate/main.go -dbname=boilerplatetest
GO111MODULE=off go get github.com/githubnemo/CompileDaemon
CompileDaemon --build="go build -o main cmd/api/main.go" --command=./main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment