📃 New build scripts

This commit is contained in:
ful1e5 2020-10-10 17:39:37 +05:30
parent b7f3293acc
commit a6889413b5
2 changed files with 14 additions and 3 deletions

View file

@ -335,7 +335,7 @@ deactivate
```bash ```bash
yarn install # Install all Node Packages yarn install # Install all Node Packages
yarn py_install # Install all PyPi Packages yarn py_install # Install all PyPi & builder Packages
``` ```
#### Build `Bibata` #### Build `Bibata`
@ -346,7 +346,10 @@ yarn render:bibata-original # Render Bibata Original Bi
# Build cursors packages # Build cursors packages
yarn build # Build Windows & X11 packages yarn build # Build Windows & X11 packages
# OR
yarn build:x11 # Build only X11 packages yarn build:x11 # Build only X11 packages
# OR
yarn build:win # Build only Windows cursors
``` ```
#### Build `Bibata Modern` Only #### Build `Bibata Modern` Only
@ -356,7 +359,10 @@ yarn render:bibata-modern # Render Bibata Modern Bitm
# Build cursors packages # Build cursors packages
yarn build # Build Windows & X11 cursors yarn build # Build Windows & X11 cursors
# OR
yarn build:x11 # Build only X11 cursors yarn build:x11 # Build only X11 cursors
# OR
yarn build:win # Build only Windows cursors
``` ```
#### Build `Bibata Original` Only #### Build `Bibata Original` Only
@ -366,7 +372,10 @@ yarn render:bibata-original # Render Bibata Original Bi
# Build cursors packages # Build cursors packages
yarn build # Build Windows & Linux cursors yarn build # Build Windows & Linux cursors
# OR
yarn build:x11 # Build only X11 cursors yarn build:x11 # Build only X11 cursors
# OR
yarn build:win # Build only Windows cursors
``` ```
After build `bitmaps` and `themes` directory are generated at project **root**. After build `bitmaps` and `themes` directory are generated at project **root**.

View file

@ -7,12 +7,14 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"private": true, "private": true,
"scripts": { "scripts": {
"clean": "rm -rf bitmaps", "clean": "rm -rf bitmaps themes",
"render:bibata-modern": "yarn workspace bibata-modern render", "render:bibata-modern": "yarn workspace bibata-modern render",
"render:bibata-original": "yarn workspace bibata-original render", "render:bibata-original": "yarn workspace bibata-original render",
"build": "rm -rf themes && python build.py", "build": "rm -rf themes && python build.py",
"build:x11": "rm -rf themes && python build.py --x11", "build:x11": "rm -rf themes && python build.py --x11",
"py_install": "pip install -r requirements.txt", "build:win": "rm -rf themes && python build.py --win",
"py_builder_install":"python setup.py install",
"py_install": "pip install -r requirements.txt && yarn py_builder_install",
"py_freeze": "pip freeze >> requirements.txt" "py_freeze": "pip freeze >> requirements.txt"
}, },
"workspaces": [ "workspaces": [