fix: do not clean src files between builds

This breaks packaging for multiple systems, and should only be done in the tmp build dir.
This commit is contained in:
Jose Diaz-Gonzalez committed 2017-03-31 17:48:26 -06:00
1 parent 90015ab594
commit 0fae350256
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ fn-build-dokku() {
--build-arg DOKKU_VERSION="$DOKKU_VERSION" \ --build-arg DOKKU_VERSION="$DOKKU_VERSION" \
--build-arg DOKKU_GIT_REV="$DOKKU_GIT_REV" \ --build-arg DOKKU_GIT_REV="$DOKKU_GIT_REV" \
--build-arg IS_RELEASE="$IS_RELEASE" \ --build-arg IS_RELEASE="$IS_RELEASE" \
--build-arg PLUGIN_MAKE_TARGET="build src-clean" \ --build-arg PLUGIN_MAKE_TARGET="build" \
--build-arg GOLANG_VERSION="$GOLANG_VERSION" \ --build-arg GOLANG_VERSION="$GOLANG_VERSION" \
-f "contrib/build.Dockerfile" \ -f "contrib/build.Dockerfile" \
-t "$NAME" . -t "$NAME" .