diff options
| -rw-r--r-- | examples/config.toml | 2 | ||||
| -rw-r--r-- | examples/main.py | 6 | ||||
| -rw-r--r-- | examples/rules/COC7/Character.py (renamed from examples/COC7/Character.py) | 0 | ||||
| -rw-r--r-- | examples/rules/COC7/Wiki.py (renamed from examples/COC7/Wiki.py) | 0 | ||||
| -rw-r--r-- | examples/rules/COC7/__init__.py (renamed from examples/COC7/__init__.py) | 0 |
5 files changed, 8 insertions, 0 deletions
diff --git a/examples/config.toml b/examples/config.toml new file mode 100644 index 0000000..4e5e2fe --- /dev/null +++ b/examples/config.toml @@ -0,0 +1,2 @@ +[core] +rule_dirs = ["rules"]
\ No newline at end of file diff --git a/examples/main.py b/examples/main.py new file mode 100644 index 0000000..c8b43e0 --- /dev/null +++ b/examples/main.py @@ -0,0 +1,6 @@ +from hrc.core import Core + +core = Core(hot_reload=True) + +if __name__ == '__main__': + core.run() diff --git a/examples/COC7/Character.py b/examples/rules/COC7/Character.py index bb30661..bb30661 100644 --- a/examples/COC7/Character.py +++ b/examples/rules/COC7/Character.py diff --git a/examples/COC7/Wiki.py b/examples/rules/COC7/Wiki.py index b97f717..b97f717 100644 --- a/examples/COC7/Wiki.py +++ b/examples/rules/COC7/Wiki.py diff --git a/examples/COC7/__init__.py b/examples/rules/COC7/__init__.py index 25acdaa..25acdaa 100644 --- a/examples/COC7/__init__.py +++ b/examples/rules/COC7/__init__.py |
