From c82f23ccaf077dce350292c7f3b2948d61122bbe Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 20 Jun 2017 03:18:54 -0700 Subject: [pkg] improve Packages script - use relative paths - there's still an absolute path (hardcoded, the REFERENCE FOLDER PATH). This should be changed (sed!) if we want to automate this for CI or for building in different environments: STILL NEEDS SOME MANUAL WORK. - Avoid deleting the build folders by default - Move the plist file to a subfolder --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9b92e41..d4cbc17 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,6 @@ DIST_VERSION = dist/bitmask-$(NEXT_VERSION)/ include pkg/pyinst/build.mk include pkg/thirdparty/openvpn/build.mk -clean: - find . -type f -name "*.py[co]" -delete - find . -type d -name "__pycache__" -delete - dev-mail: pip install -e '.[mail]' @@ -64,3 +60,7 @@ bundle_in_docker: docker_container: cd pkg/docker_bundle && docker build -t mybundle . + +clean: + find . -type f -name "*.py[co]" -delete + find . -type d -name "__pycache__" -delete -- cgit v1.2.3