diff --git a/core/rules b/core/rules new file mode 120000 index 0000000..4c6c243 --- /dev/null +++ b/core/rules @@ -0,0 +1 @@ +../rules \ No newline at end of file diff --git a/rules b/rules deleted file mode 120000 index a10a0e5..0000000 --- a/rules +++ /dev/null @@ -1 +0,0 @@ -core/rules \ No newline at end of file diff --git a/rules.md b/rules.md index 849f084..0a4940f 100644 --- a/rules.md +++ b/rules.md @@ -1,6 +1,6 @@ # Writing Rules -Rule files placed under [rules](./core/rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules! +Rule files placed under [rules](./rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules! For compile-time rules, if only rules are changed, cargo won't recompile the project because Rust code were intact. You will have to notify it manually by: ```shell diff --git a/core/rules/c_typo.toml b/rules/c_typo.toml similarity index 100% rename from core/rules/c_typo.toml rename to rules/c_typo.toml diff --git a/core/rules/cargo.toml b/rules/cargo.toml similarity index 100% rename from core/rules/cargo.toml rename to rules/cargo.toml diff --git a/core/rules/cat.toml b/rules/cat.toml similarity index 100% rename from core/rules/cat.toml rename to rules/cat.toml diff --git a/core/rules/cd.toml b/rules/cd.toml similarity index 100% rename from core/rules/cd.toml rename to rules/cd.toml diff --git a/core/rules/cp.toml b/rules/cp.toml similarity index 100% rename from core/rules/cp.toml rename to rules/cp.toml diff --git a/core/rules/git.toml b/rules/git.toml similarity index 100% rename from core/rules/git.toml rename to rules/git.toml diff --git a/core/rules/mkdir.toml b/rules/mkdir.toml similarity index 100% rename from core/rules/mkdir.toml rename to rules/mkdir.toml diff --git a/core/rules/mv.toml b/rules/mv.toml similarity index 100% rename from core/rules/mv.toml rename to rules/mv.toml diff --git a/core/rules/npm.toml b/rules/npm.toml similarity index 100% rename from core/rules/npm.toml rename to rules/npm.toml diff --git a/core/rules/pacman.toml b/rules/pacman.toml similarity index 100% rename from core/rules/pacman.toml rename to rules/pacman.toml diff --git a/core/rules/pr_general.toml b/rules/pr_general.toml similarity index 100% rename from core/rules/pr_general.toml rename to rules/pr_general.toml diff --git a/core/rules/pr_privilege.toml b/rules/pr_privilege.toml similarity index 100% rename from core/rules/pr_privilege.toml rename to rules/pr_privilege.toml diff --git a/core/rules/rm.toml b/rules/rm.toml similarity index 100% rename from core/rules/rm.toml rename to rules/rm.toml diff --git a/core/rules/touch.toml b/rules/touch.toml similarity index 100% rename from core/rules/touch.toml rename to rules/touch.toml diff --git a/core/rules/yarn.toml b/rules/yarn.toml similarity index 100% rename from core/rules/yarn.toml rename to rules/yarn.toml