aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bruiser/bruiser-extra.h1
-rw-r--r--bruiser/bruiser.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/bruiser/bruiser-extra.h b/bruiser/bruiser-extra.h
index a8f698e..65d63df 100644
--- a/bruiser/bruiser-extra.h
+++ b/bruiser/bruiser-extra.h
@@ -118,6 +118,7 @@ std::vector<std::string> LUA_FUNCS =
"getmakepath",
"getsourcefiles",
"getpaths",
+ "changedirectory",
"_G",
"_VERSION",
"assert",
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h
index cfc9916..5ebdc76 100644
--- a/bruiser/bruiser.h
+++ b/bruiser/bruiser.h
@@ -144,7 +144,8 @@ help CMDHelp[] = {
{"getbinpath()", "getbinpath()", "gets the binary path for mutant executable", "none", "string"},
{"getmakepath()", "getmakepath()", "gets the make path for mutant executable", "none", "string"},
{"getpaths()", "getpaths()", "gets the currently loaded paths that bruiser looks through", "none", "array of strings"},
- {"getsourcefiles()", "getsourcefiles()", "gets the currently loaded source files that bruiser will look through", "none", "array of strings"}
+ {"getsourcefiles()", "getsourcefiles()", "gets the currently loaded source files that bruiser will look through", "none", "array of strings"},
+ {"changedirectory()", "changedirectory()", "changes bruiser's working directory. only use it when you know what you are doing.", "destination directory, [string]", "return value"}
};
/**********************************************************************************************************************/
/**