Files
dokku/plugins/scheduler-docker-local/Makefile
Jose Diaz-Gonzalez fe11d508d3 feat: port scheduler-docker-local :report subcommand to golang
The bash :report implementation for the scheduler-docker-local plugin is replaced with a compiled golang binary. The plugin already shipped golang code, so the report subcommand is added alongside its existing triggers binary, and the init-process and parallel-schedule-count helpers remain in bash for the deploy pipeline.
2026-07-07 07:06:24 -04:00

13 lines
482 B
Makefile

TRIGGERS = triggers/report triggers/scheduler-cron-write triggers/scheduler-storage-exec
BUILD = report-subcommand triggers
PLUGIN_NAME = scheduler-docker-local
clean-report-subcommand:
rm -rf report-subcommand
report-subcommand: clean-report-subcommand src/subcommands/subcommands.go
GOARCH=$(GOARCH) go build -mod=readonly -ldflags="-s -w" $(GO_ARGS) -o report-subcommand src/subcommands/subcommands.go
ln -sf ../report-subcommand subcommands/report
include ../../common.mk