mirror of
https://github.com/dokku/dokku.git
synced 2026-09-02 12:10:09 +02:00
This MR splits out the logic such that there is now a binary that handles function based calls without validating the app name. We should only every check the app name for the subcommands and not internally. Internal calls should have their arguments taken at face value.
13 lines
499 B
Makefile
13 lines
499 B
Makefile
SUBCOMMANDS = subcommands/bundle subcommands/clear subcommands/export subcommands/get subcommands/keys subcommands/show subcommands/set subcommands/unset
|
|
TRIGGERS = triggers/config-export triggers/config-get triggers/config-get-global
|
|
BUILD = commands config_sub subcommands triggers
|
|
PLUGIN_NAME = config
|
|
|
|
clean-config_sub:
|
|
rm -rf config_sub
|
|
|
|
config_sub: clean-config_sub **/**/config_sub.go
|
|
go build -ldflags="-s -w" $(GO_ARGS) -o config_sub src/config_sub/config_sub.go
|
|
|
|
include ../../common.mk
|