From be54d583f1195f329cd09a40b6a4d119e19d6dd7 Mon Sep 17 00:00:00 2001 From: Matt Weiden <538456+mweiden@users.noreply.github.com> Date: Wed, 8 Jan 2020 08:12:51 -0800 Subject: [PATCH] Only copy versioned files to the package (#1096) Fixes https://github.com/chanzuckerberg/cellxgene/issues/582 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4c34bbce..e8d4520b 100644 --- a/Makefile +++ b/Makefile @@ -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/