mirror of
https://github.com/dokku/dokku.git
synced 2025-12-25 16:29:30 +01:00
Previously, checking if an app was deployed actually checked if there were any running processes. This is not only incorrect, but also fails to take into account applications that do not have running processes and are only used for one-off commands. This fix migrates apps to the new "deployed" property which is set in core-post-deploy. The result is a slightly faster "deployed" check that is correct and allows non-scaled apps to actually work. Closes #4398
18 lines
408 B
Makefile
18 lines
408 B
Makefile
TRIGGERS = triggers/core-post-deploy triggers/install triggers/post-delete
|
|
BUILD = prop common triggers
|
|
PLUGIN_NAME = common
|
|
|
|
clean-prop:
|
|
rm -rf prop
|
|
|
|
clean-common:
|
|
rm -rf common
|
|
|
|
prop: clean-prop **/**/prop.go
|
|
go build -ldflags="-s -w" $(GO_ARGS) -o prop src/prop/prop.go
|
|
|
|
common: clean-common **/**/common.go
|
|
go build -ldflags="-s -w" $(GO_ARGS) -o common src/common/common.go
|
|
|
|
include ../../common.mk
|