generated from mathias/template-go-web
template: substitute placeholders
This commit is contained in:
+3
-3
@@ -7,10 +7,10 @@ tasks:
|
|||||||
build:
|
build:
|
||||||
desc: Build the binary
|
desc: Build the binary
|
||||||
deps: [generate]
|
deps: [generate]
|
||||||
cmds: [go build -o bin/__PROJECT_NAME__ ./cmd/__PROJECT_NAME__]
|
cmds: [go build -o bin/spatial-agent-app ./cmd/spatial-agent-app]
|
||||||
run:
|
run:
|
||||||
deps: [build]
|
deps: [build]
|
||||||
cmds: [./bin/__PROJECT_NAME__]
|
cmds: [./bin/spatial-agent-app]
|
||||||
test:
|
test:
|
||||||
desc: Run all tests
|
desc: Run all tests
|
||||||
deps: [generate]
|
deps: [generate]
|
||||||
@@ -27,7 +27,7 @@ tasks:
|
|||||||
# The template guard decides whether CI runs at all in every child repo,
|
# The template guard decides whether CI runs at all in every child repo,
|
||||||
# so its regression test belongs in the same gate as the Go tests.
|
# so its regression test belongs in the same gate as the Go tests.
|
||||||
- bash scripts/tests/is-template_test.sh
|
- bash scripts/tests/is-template_test.sh
|
||||||
# The three Go commands above cannot see cmd/__PROJECT_NAME__ -- Go's
|
# The three Go commands above cannot see cmd/spatial-agent-app -- Go's
|
||||||
# ./... expansion skips directories whose names start with an underscore.
|
# ./... expansion skips directories whose names start with an underscore.
|
||||||
# This gates the substituted result, which is what a child actually runs.
|
# This gates the substituted result, which is what a child actually runs.
|
||||||
- bash scripts/tests/generated-child_test.sh
|
- bash scripts/tests/generated-child_test.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user