Replace build scripts with CMake
Rebuilding everything each time was getting a bit slow.
This commit is contained in:
16
README
16
README
@@ -21,14 +21,14 @@ syntax; the expression syntax I intend to support follows.
|
||||
|
||||
Building and Running Tests
|
||||
|
||||
There are two scripts, build.sh and test.sh, which will (much to
|
||||
everybody's shock) build and run tests. The build script uses Clang
|
||||
but the code is ISO C11 so it should compile just fine with GCC or
|
||||
something instead.
|
||||
The build uses CMake. There are two scripts, build.sh and test.sh,
|
||||
which will (much to everybody's shock) build the project and run the
|
||||
tests. The build script specifies Clang but the code is ISO C11 so it
|
||||
should compile just fine with GCC or something instead.
|
||||
|
||||
sh scripts/build.sh # Compile library and test code
|
||||
sh scripts/test.sh # Run tests
|
||||
scripts/build.sh # Compile library and tests
|
||||
scripts/test.sh # Run tests
|
||||
|
||||
There is also an entr.sh script which will watch all the project's
|
||||
files and rebuild and rerun the tests on any changes, using the entr
|
||||
tool.
|
||||
files and rebuild then rerun the tests on any changes (uses entr --
|
||||
hence the name of the script).
|
||||
|
||||
Reference in New Issue
Block a user