summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-11-17 22:00:57 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2016-11-18 11:49:51 +0100
commit5bcbd9f13e0a248000b8e4b0c07058f3e0feab37 (patch)
tree6359c673d070e11f5ee74a1b32c17c4cda4ff77f
parent351277bbc86e99f6e3630125c5ced973996fcf0c (diff)
[build] include dbschema in bundle
-rwxr-xr-xpkg/build_bundle_with_venv.sh1
-rw-r--r--pkg/pyinst/build.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh
index 929710ad..848db960 100755
--- a/pkg/build_bundle_with_venv.sh
+++ b/pkg/build_bundle_with_venv.sh
@@ -16,4 +16,3 @@ $VIRTUAL_ENV/bin/pip uninstall leap.bitmask
$VIRTUAL_ENV/bin/pip install .
make bundle
-make bundle_tar
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index 4a250d75..38038c51 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -5,6 +5,8 @@ bundle: bundle_clean
cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/_scrypt.so $(DIST)
cp src/leap/bitmask/core/bitmaskd.tac $(DIST)
mkdir $(DIST)/leap
+ mkdir -p $(DIST)/leap/soledad/common/l2db/backends
+ cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/soledad/common/l2db/backends/dbschema.sql $(DIST)/leap/soledad/common/l2db/backends/
cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/bitmask_js/ $(DIST)/leap
mv $(DIST) _bundlelib && mkdir $(DIST_VERSION) && mv _bundlelib $(DIST_VERSION)/lib
cd pkg/launcher && make