diff --git a/.gitignore b/.gitignore index 991c5b7..0173b55 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,9 @@ -########## Custom +# Custom bitmaps themes -builder/files.txt - -########## Python +bin +# Python # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -136,7 +135,7 @@ dmypy.json .pyre/ -######### Node +# --------------------------------------------- Nodejs # Logs logs diff --git a/CHANGELOG.md b/CHANGELOG.md index 134cf39..a05f80b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Makefile` command with `THEME_PREFIX` variable - distributed pling products docs inside `pling` directory +- `prepare` command added inside `Makefile` ### Changed diff --git a/Makefile b/Makefile index 8ccb537..e066078 100644 --- a/Makefile +++ b/Makefile @@ -51,3 +51,18 @@ uninstall: @fi reinstall: uninstall install + +# generates binaries +BIN_DIR = ../bin +THEMES = Dark Light Black +prepare: bitmaps themes + @rm -rf bin && mkdir bin + @$(foreach theme,$(THEMES), mkdir -p bin/$(THEME_PREFIX)-$(theme);) + @cd bitmaps + @$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)-$(theme)/bitmaps.zip $(THEME_PREFIX)-$(theme);) + @zip -r $(BIN_DIR)/bitmaps.zip * + @cd .. + @cd themes + @$(foreach theme,$(THEMES), tar -czvf $(BIN_DIR)/$(THEME_PREFIX)-$(theme)/$(THEME_PREFIX)-$(theme).tar.gz $(THEME_PREFIX)-$(theme);) + @$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)-$(theme)/$(THEME_PREFIX)-$(theme)-Windows.zip $(THEME_PREFIX)-$(theme)-Windows;) + @cd ..