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: 12 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 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T06:15:45.000Z (over 1 year ago)
- Last Synced: 2025-03-16T09:43:24.045Z (over 1 year ago)
- Topics: posix, posix-shell, shell, shell-script
- Language: Shell
- Homepage:
- Size: 175 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 script
The 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).