feat: prepare command added inside Makefile
This commit is contained in:
+4
-5
@@ -1,10 +1,9 @@
|
|||||||
########## Custom
|
# Custom
|
||||||
bitmaps
|
bitmaps
|
||||||
themes
|
themes
|
||||||
builder/files.txt
|
bin
|
||||||
|
|
||||||
########## Python
|
|
||||||
|
|
||||||
|
# Python
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
@@ -136,7 +135,7 @@ dmypy.json
|
|||||||
.pyre/
|
.pyre/
|
||||||
|
|
||||||
|
|
||||||
######### Node
|
# --------------------------------------------- Nodejs
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
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
|
- `Makefile` command with `THEME_PREFIX` variable
|
||||||
- distributed pling products docs inside `pling` directory
|
- distributed pling products docs inside `pling` directory
|
||||||
|
- `prepare` command added inside `Makefile`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -51,3 +51,18 @@ uninstall:
|
|||||||
@fi
|
@fi
|
||||||
|
|
||||||
reinstall: uninstall install
|
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