bootstrap help and version list

This commit is contained in:
2024-07-21 05:01:40 +03:00
parent 5c1b063399
commit 0b5eed8b4c
4 changed files with 77 additions and 25 deletions

View File

@@ -1,23 +1,31 @@
# cbuild
My C/C++ build system written in bash.
My C/C++ build system written in sh.
## Installation
```bash
```sh
git clone https://timerix.ddns.net:3322/cbuild.git
cd cbuild
sudo ./setup.sh
```
Can be installed to `~/.local/` if you have no root rights.
- ```sh
./setup.sh --local
```
- Then add `~/.local/bin` to `PATH` in your shell config.
## Usage
1. Initialize cbuild project in some directory:
```bash
```sh
cd some_project
cbuild --new-project
```
2. Edit `default.config`.
2. Edit `project.config`.
3. Call some tasks:
```bash
```sh
cbuild build_exec_dbg exec
```
P.S. See help
```sh
cbuild -h
```