bootstrap help and version list
This commit is contained in:
20
README.md
20
README.md
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user