From e98cbe93cf7c88f12abc84f0c54d45770dd822c6 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 14 Mar 2024 08:05:50 -0400 Subject: [PATCH] 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. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 06cac420a..9b177269b 100644 --- a/Makefile +++ b/Makefile @@ -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