Enhanced documentation.
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
7c13f23d3c
commit
6a67553d61
|
@ -3,14 +3,15 @@ scripts. By default it uses g++.
|
||||||
|
|
||||||
It compiles the source file, stores the binary in
|
It compiles the source file, stores the binary in
|
||||||
`${XDG_CACHE_HOME}/compilescript/` and executes it. If the binary in cache is
|
`${XDG_CACHE_HOME}/compilescript/` and executes it. If the binary in cache is
|
||||||
newer than the source file, the compilation is skipped. You can delete old cache
|
newer than the source file, the compilation is skipped.
|
||||||
files with `--cleanup`.
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Use `#!/usr/bin/env compilescript` as shebang and write the compiler arguments
|
Use `#!/usr/bin/env compilescript` as shebang and write the compiler arguments
|
||||||
in the second line with the prefix: `//compilescript:`.
|
in the second line with the prefix: `//compilescript:`.
|
||||||
|
|
||||||
|
You can delete old cache files with `--cleanup`.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```C++
|
```C++
|
||||||
|
@ -30,7 +31,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
The configuration file is in `${XDG_CONFIG_HOME}/compilescript.cfg`.
|
The configuration file is in `${XDG_CONFIG_HOME}/compilescript.cfg`. It will be
|
||||||
|
generated on first run.
|
||||||
|
|
||||||
### Example config
|
### Example config
|
||||||
|
|
||||||
|
|
Reference in New Issue