blob: 715e6c67aae3519ba73262d3ac74cc48d844b11b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# craft
`craft` is a minimal build automation tool for Linux.
## Build
Executing the `build.sh` script inside the root of the craft source code will
create the craft Linux executable. Only the `go` tool and a posix shell is
required.
## Usage
Call the `craft` tool like this:
```
./craft -repo https://example.com -commit 8f36088eee1cfbec4ddac4d652101db3b29eed45
```
This will create a temporary directory, clone the repository including
submodules to that location, execute the `build` function from the `craft.sh`
file inside the root of the repo and remove the temporary directory.
Log output is redirected to the calling terminal.
|