From 5cc3a2c09606f5da94c341237352a9e937a2c4dd Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 13 Aug 2021 14:42:34 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=99=88=20ignore=20bin=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 10 +++++----- Makefile | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 586d00a..109e4b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ -########## Custom +# --------------------------------------------- Custom bitmaps themes -builder/files.txt +bin -########## Python +# --------------------------------------------- Python # Byte-compiled / optimized / DLL files __pycache__/ @@ -136,7 +136,7 @@ dmypy.json .pyre/ -######### Node +# --------------------------------------------- Nodejs # Logs logs @@ -253,4 +253,4 @@ dist .yarn/unplugged .yarn/build-state.yml .yarn/install-state.gz -.pnp.* \ No newline at end of file +.pnp.* diff --git a/Makefile b/Makefile index db4a356..0690cd3 100644 --- a/Makefile +++ b/Makefile @@ -8,14 +8,14 @@ render: bitmapper svg @cd bitmapper && $(MAKE) build: bitmaps - @cd builder && make build && make clean + @cd builder && make build unix: clean render bitmaps - @cd builder && make build_unix && make clean + @cd builder && make build_unix windows: clean render bitmaps - @cd builder && make build_windows && make clean + @cd builder && make build_windows # Installation @@ -52,3 +52,14 @@ uninstall: @fi reinstall: uninstall install + +BIN_DIR = ../bin +prepare: bitmaps themes + # Bitmaps + @rm -rf bin && mkdir bin + @cd bitmaps && zip -r $(BIN_DIR)/bitmaps.zip * && cd .. + # Themes + @cd themes + @tar -czvf $(BIN_DIR)/macOSBigSur.tar.gz macOSBigSur + @zip -r $(BIN_DIR)/macOSBigSur_Windows.zip macOSBigSur_Windows + @cd ..