Merge pull request #6719 from dokku/copydokku
feat: add a make target to copy the dokku binary over
This commit is contained in:
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