Only copy versioned files to the package (#1096)

Fixes https://github.com/chanzuckerberg/cellxgene/issues/582
This commit is contained in:
Matt Weiden
2020-01-08 08:12:51 -08:00
committed by GitHub
parent 4c1ecf9e52
commit be54d583f1
+1 -2
View File
@@ -31,8 +31,7 @@ build-client:
.PHONY: build-server
build-server: build-client
mkdir -p $(SERVERBUILD)
cp -r server/* $(SERVERBUILD)
git ls-files server/ | cpio -pdm $(BUILDDIR)
cp -r client/build/ $(CLIENTBUILD)
mkdir -p $(SERVERBUILD)/app/web/static/img
mkdir -p $(SERVERBUILD)/app/web/templates/