move main.go out to root
This commit is contained in:
parent
a52545a0c2
commit
7108cce096
3 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ tmp_dir = "tmp"
|
||||||
[build]
|
[build]
|
||||||
args_bin = []
|
args_bin = []
|
||||||
bin = "./tmp/main"
|
bin = "./tmp/main"
|
||||||
cmd = "go build -o ./tmp/main cmd/main.go"
|
cmd = "go build -o ./tmp/main ./main.go"
|
||||||
delay = 1000
|
delay = 1000
|
||||||
exclude_dir = ["node_modules", "assets", "tmp", "vendor", "testdata"]
|
exclude_dir = ["node_modules", "assets", "tmp", "vendor", "testdata"]
|
||||||
exclude_file = []
|
exclude_file = []
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -7,7 +7,7 @@ build-css:
|
||||||
|
|
||||||
# build Go application
|
# build Go application
|
||||||
build-go:
|
build-go:
|
||||||
go build -o ./build/potoforio ./cmd/main.go
|
go build -o ./build/potoforio ./main.go
|
||||||
|
|
||||||
# cleans up prod css
|
# cleans up prod css
|
||||||
clean-css:
|
clean-css:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue