feat: prepare command added inside Makefile
This commit is contained in:
+4
-5
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 ..
|
||||
|
||||
Reference in New Issue
Block a user