Merge pull request #6719 from dokku/copydokku

feat: add a make target to copy the dokku binary over
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2024-03-14 08:06:14 -04:00
commit 9597943b6b
1 file changed
+5 -2
+5 -2
View File
@@ -75,9 +75,12 @@ go-clean:
fi ;\ fi ;\
done done
copyfiles: copydokku:
$(MAKE) go-build || exit 1
cp dokku /usr/local/bin/dokku 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} mkdir -p ${CORE_PLUGINS_PATH} ${PLUGINS_PATH}
rm -rf ${CORE_PLUGINS_PATH}/* rm -rf ${CORE_PLUGINS_PATH}/*
test -d ${CORE_PLUGINS_PATH}/enabled || PLUGIN_PATH=${CORE_PLUGINS_PATH} plugn init test -d ${CORE_PLUGINS_PATH}/enabled || PLUGIN_PATH=${CORE_PLUGINS_PATH} plugn init