feat: add a make target to copy the dokku binary over

This is helpful when in local development. While rare, sometimes the dokku binary needs to have some changes applied.
This commit is contained in:
Jose Diaz-Gonzalez
2024-03-14 08:05:50 -04:00
parent 2f2d4f5dd6
commit e98cbe93cf

View File

@@ -75,9 +75,12 @@ go-clean:
fi ;\
done
copyfiles:
$(MAKE) go-build || exit 1
copydokku:
cp dokku /usr/local/bin/dokku
chmod 0755 /usr/local/bin/dokku
copyfiles: copydokku
$(MAKE) go-build || exit 1
mkdir -p ${CORE_PLUGINS_PATH} ${PLUGINS_PATH}
rm -rf ${CORE_PLUGINS_PATH}/*
test -d ${CORE_PLUGINS_PATH}/enabled || PLUGIN_PATH=${CORE_PLUGINS_PATH} plugn init