From 3bf0f6f7e43dc8b043207d2dbfe4541bb59c5892 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Thu, 8 Jul 2021 15:55:05 +0200 Subject: [PATCH] Add comments about new codegen --- def/README.md | 1 + pkg/codegen-v3/README.md | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 def/README.md create mode 100644 pkg/codegen-v3/README.md diff --git a/def/README.md b/def/README.md new file mode 100644 index 000000000..1c63ca499 --- /dev/null +++ b/def/README.md @@ -0,0 +1 @@ +See `pkg/codegen-v3/README.md` diff --git a/pkg/codegen-v3/README.md b/pkg/codegen-v3/README.md new file mode 100644 index 000000000..a7d2c4b0c --- /dev/null +++ b/pkg/codegen-v3/README.md @@ -0,0 +1,12 @@ +This is 3rd generation of corteza code generator +(1st was written in PHP, apologies 2nd is active and in use) + +Goal for the 3rd generation is: + - improved definition structure that addresses all elements that are used for code generation (types, store, rbac) + - unify most if not all definitions (stuff in YAML files) into what you can find in /def/... + - JSON schema validation for YAML files + +How to run it (temp): +``` +go run pkg/codegen-v3/*.go def +```