Merge pull request #1376 from alphagov/imdad-fix-copy-packages-into-vendor

Copy all the dependencies into the directory
This commit is contained in:
Imdad Ahad
2017-07-21 09:38:29 +01:00
committed by GitHub

View File

@@ -87,7 +87,7 @@ build: dependencies generate-version-file ## Build project
npm run build
. venv/bin/activate && PIP_ACCEL_CACHE=${PIP_ACCEL_CACHE} pip-accel install -r requirements.txt
mkdir -p vendor/
cp -r ${PIP_ACCEL_CACHE}/sources/ vendor/
cp ${PIP_ACCEL_CACHE}/sources/* vendor/
.PHONY: cf-build
cf-build: dependencies generate-version-file ## Build project