fix: allow skipping go-clean
This commit is contained in:
2
Makefile
2
Makefile
@@ -88,7 +88,9 @@ copyfiles:
|
|||||||
PLUGIN_PATH=${CORE_PLUGINS_PATH} plugn enable $$plugin ;\
|
PLUGIN_PATH=${CORE_PLUGINS_PATH} plugn enable $$plugin ;\
|
||||||
PLUGIN_PATH=${PLUGINS_PATH} plugn enable $$plugin ;\
|
PLUGIN_PATH=${PLUGINS_PATH} plugn enable $$plugin ;\
|
||||||
done
|
done
|
||||||
|
ifndef SKIP_GO_CLEAN
|
||||||
$(MAKE) go-clean
|
$(MAKE) go-clean
|
||||||
|
endif
|
||||||
chown dokku:dokku -R ${PLUGINS_PATH} ${CORE_PLUGINS_PATH} || true
|
chown dokku:dokku -R ${PLUGINS_PATH} ${CORE_PLUGINS_PATH} || true
|
||||||
$(MAKE) addman
|
$(MAKE) addman
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ RUN PATH=$PATH:/usr/local/go/bin GOPATH=/go \
|
|||||||
DOKKU_VERSION=${DOKKU_VERSION} \
|
DOKKU_VERSION=${DOKKU_VERSION} \
|
||||||
DOKKU_GIT_REV=${DOKKU_GIT_REV} \
|
DOKKU_GIT_REV=${DOKKU_GIT_REV} \
|
||||||
IS_RELEASE=${IS_RELEASE} \
|
IS_RELEASE=${IS_RELEASE} \
|
||||||
|
SKIP_GO_CLEAN=true \
|
||||||
make version copyfiles \
|
make version copyfiles \
|
||||||
&& rm -rf plugins/common/*.go plugins/common/glide* plugins/common/vendor/ \
|
&& rm -rf plugins/common/*.go plugins/common/glide* plugins/common/vendor/ \
|
||||||
&& make deb-herokuish deb-dokku deb-plugn deb-sshcommand deb-sigil \
|
&& make deb-herokuish deb-dokku deb-plugn deb-sshcommand deb-sigil \
|
||||||
|
|||||||
Reference in New Issue
Block a user