https://github.com/base-ux/spxshell
Static POSIX shell scripts and toolkit
https://github.com/base-ux/spxshell
posix posix-shell shell shell-script
Last synced: 3 months ago
JSON representation
Static POSIX shell scripts and toolkit
- Host: GitHub
- URL: https://github.com/base-ux/spxshell
- Owner: base-ux
- License: mit
- Created: 2024-02-05T15:58:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-20T11:30:08.000Z (4 months ago)
- Last Synced: 2025-02-20T12:28:56.178Z (4 months ago)
- Topics: posix, posix-shell, shell, shell-script
- Language: Shell
- Homepage:
- Size: 155 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Static POSIX shell toolkit
This toolkit is intended to build self-sufficient shell scripts.
The idea is to compose such script from some pieces by using some sort of
lightweight 'preprocessor'.* `spxgen.sht` -- template for preprocessor and script generator
* `mkdeploy.sht` -- template for generator of deploy scripts
* `install.sht` -- template for installation scriptThe documentation will be written soon, sorry for now.
### Get
```
git clone https://github.com/base-ux/spxshell.git
```### Build
To build all scripts:
```
./make.sh
```### Install
Either:
```
./make.sh install
```or execute `install.sh` (in `out` directory) script after building.
### Create deploy script
To create deploy script:
```
./make.sh deploy
```This script is self-sufficient for installing the set of all other scripts
on other hosts (just copy and run it).