From 3fd5e3d5e9785a7e309c3021f174c3ff52bcc363 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 30 Sep 2016 15:44:33 -0400 Subject: [pkg] change the build behavior - link against system libsqlcipher by default - vendor amalgamation - control its build with --bundled flag - allow to pass amalgamation folder with --amalgamation= --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..127461d --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +install: clean + python setup.py install + +install_bundle: clean + python setup.py install --bundled + +clean: + rm -rf build dist -- cgit v1.2.3 From 9bcaa60cb1aea37d70148d8ca46b086ff5adaec0 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 30 Sep 2016 16:16:14 -0400 Subject: add script to download latest amalgamation --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 127461d..3491456 100644 --- a/Makefile +++ b/Makefile @@ -4,5 +4,8 @@ install: clean install_bundle: clean python setup.py install --bundled +get_amalgamation: + scripts/get_latest_amalgamation.sh amalgamation_latest + clean: rm -rf build dist -- cgit v1.2.3 From a46e522ff6f2d920e1846ddfbf428bd03c33a42d Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 30 Sep 2016 16:18:51 -0400 Subject: add upload to makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3491456..9473a1c 100644 --- a/Makefile +++ b/Makefile @@ -7,5 +7,8 @@ install_bundle: clean get_amalgamation: scripts/get_latest_amalgamation.sh amalgamation_latest +upload: + python setup.py sdist upload -r pypi + clean: rm -rf build dist -- cgit v1.2.3 From 0f561292228a2382814759454d910f92d54bb9a1 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 13 Apr 2017 20:39:31 +0200 Subject: add some smoke tests --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9473a1c..c72e005 100644 --- a/Makefile +++ b/Makefile @@ -10,5 +10,10 @@ get_amalgamation: upload: python setup.py sdist upload -r pypi +test: + rm -f tests/*.db + cd tests && ./run.sh + rm -f tests/*.db + clean: rm -rf build dist -- cgit v1.2.3 From f472f1a6382abc698f74a1afbb07b2274b3a3d45 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 22 Jun 2017 14:09:15 +0200 Subject: [pkg] add empty default target --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c72e005..237231e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +default: +.PHONY : install install_bundle get_amalgamation upload test clean + install: clean python setup.py install -- cgit v1.2.3