https://github.com/justxuewei/ubuild
The ubuild, standing for universal build, runs commands in a portable environment.
https://github.com/justxuewei/ubuild
Last synced: about 1 month ago
JSON representation
The ubuild, standing for universal build, runs commands in a portable environment.
- Host: GitHub
- URL: https://github.com/justxuewei/ubuild
- Owner: justxuewei
- License: apache-2.0
- Created: 2023-09-21T06:41:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T12:29:38.000Z (over 1 year ago)
- Last Synced: 2024-03-18T08:58:07.355Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ubuild
The ubuild, standing for universal build, builds softwares in the universal
environment.## How to use
```shell
# ubuild
$ ubuild rund:master make LIBC=gnu
# One-line command is equivalent to (docker engine)
$ sudo docker run --rm \
-v $HOME:$HOME \
-v $HOME/.ssh:/home/$IMAGEUSER/.ssh:ro \
-w $(pwd) \
rund:master \
bash -c "source /home/$IMAGEUSER/.bashrc && make LIBC=gnu"
```Note that DO NOT use ubuild with sudo. Otherwise, the default base path
will be the root's home directory. By default, the ubuild starts the
container with sudo. If you don't want this, a `--no-sudo` argument should
be applied.Please refer to `ubuild -h` for more usages.