feat: add migrate cmd
This commit is contained in:
@@ -12,12 +12,12 @@ tidy:
|
||||
|
||||
.PHONY: dist
|
||||
dist:
|
||||
@go build -ldflags=${flags} -o bin/debug/atom
|
||||
@go build -ldflags=${flags} -o bin/debug/atom{{.ProjectName}}
|
||||
@cp config.toml bin/debug/
|
||||
|
||||
.PHONY: release
|
||||
release:
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/release/app .
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/release/{{.ProjectName}} .
|
||||
@cp config.toml bin/release/
|
||||
|
||||
.PHONY: test
|
||||
|
||||
Reference in New Issue
Block a user