diff options
author | bloodstalker <thabogre@gmail.com> | 2017-06-12 12:19:51 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-06-12 12:19:51 +0000 |
commit | b1a1b5c88cabded7091abf052484bcf12564372c (patch) | |
tree | 44a0ad74ae7fb7ab3d6068402035d3a4eabc5c05 /bruiser | |
parent | new example scripts (diff) | |
download | mutator-b1a1b5c88cabded7091abf052484bcf12564372c.tar.gz mutator-b1a1b5c88cabded7091abf052484bcf12564372c.zip |
updated
Diffstat (limited to 'bruiser')
-rw-r--r-- | bruiser/README.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bruiser/README.md b/bruiser/README.md index dacb22c..648e587 100644 --- a/bruiser/README.md +++ b/bruiser/README.md @@ -39,4 +39,12 @@ After building bruiser, you can run it like any other mutator tool. So for examp ``` After that you can just run your commands.<br/> -bruiser, like any other libtooling tool will need it's entire compile command or a compilation databse. If you don't have a compilation database, take a look at [Bear](https://github.com/rizsotto/Bear).<br/> +To run you commands from a lua file, you can just use `dofile()` to call your script. bruiser has an embedded lua interpreter with the bruiser functions registered in it, so you do have full access to all lua libraries and functionalities plus the added bruiser functionality.<br/> +For example you can run one of the example scripts that come with bruiser like this:<br/> + +```lua + +dofile("./lua-scripts/testfile1.lua") + +``` +bruiser requires a compilation database to run. If you don't have a compilation database, take a look at [Bear](https://github.com/rizsotto/Bear).<br/> |