fix: properly copy triggers into place
This commit is contained in:
1 parent
fc4903c1c9
commit
2e0939702a
1 file changed
+4
-2
@@ -11,7 +11,7 @@ build-in-docker: clean
|
|||||||
$(BUILD_IMAGE) \
|
$(BUILD_IMAGE) \
|
||||||
bash -c "GO_ARGS='$(GO_ARGS)' make build" || exit $$?
|
bash -c "GO_ARGS='$(GO_ARGS)' make build" || exit $$?
|
||||||
|
|
||||||
build: commands subcommands triggers
|
build: commands subcommands triggers triggers-copy
|
||||||
|
|
||||||
commands: **/**/commands.go
|
commands: **/**/commands.go
|
||||||
go build $(GO_ARGS) -o commands src/commands/commands.go
|
go build $(GO_ARGS) -o commands src/commands/commands.go
|
||||||
@@ -31,4 +31,6 @@ triggers: $(TRIGGERS)
|
|||||||
|
|
||||||
triggers/%: src/triggers/*/%.go
|
triggers/%: src/triggers/*/%.go
|
||||||
go build $(GO_ARGS) -o $@ $<
|
go build $(GO_ARGS) -o $@ $<
|
||||||
mv $@ .
|
|
||||||
|
triggers-copy:
|
||||||
|
cp triggers/* .
|
||||||
Reference in new issue
Block a user