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:
1 parent
2f2d4f5dd6
commit
e98cbe93cf
1 file changed
+5
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user