Files
dokku/plugins/common/Makefile
Jose Diaz-Gonzalez 1e915968b5 fix: correctly handle is-deployed check
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
2021-02-13 00:46:35 -05:00

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