-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(clafrica): implement extension via scripting
Now, the Rhai scripting language is supported as embedded scripting language.
- Loading branch information
1 parent
aa2942b
commit 3ab813d
Showing
16 changed files
with
384 additions
and
28 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
members = [ | ||
"clafrica-lib", | ||
"clafrica" | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ authors = ["Fomegne Brady <[email protected]>"] | |
clafrica-lib = { version = "0.3.0", path = "../clafrica-lib" } | ||
enigo = "0.1.2" | ||
rdev = "0.5.2" | ||
rhai = "1.15.1" | ||
serde = { version = "1.0.163", features = ["serde_derive"] } | ||
toml = "0.7.3" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# script file not found | ||
|
||
[translators] | ||
not_found = "not_found" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# script parsing error | ||
|
||
[translators] | ||
invalid = "./scripts/invalid.rhai" |
Oops, something went wrong.