From 74fc321763dbd8c2ae27cae532ae9426d8649ea1 Mon Sep 17 00:00:00 2001 From: tiye Date: Wed, 30 Oct 2024 13:34:12 +0800 Subject: [PATCH] try with newer folder structure; tag 0.0.7 --- .github/workflows/check.yml | 1 + lib/moon.pkg.json | 6 ------ moon.mod.json | 3 ++- src/lib/moon.pkg.json | 4 ++++ {lib => src/lib}/parser.mbt | 0 {lib => src/lib}/parser_test.mbt | 0 {lib => src/lib}/primes.mbt | 0 {lib => src/lib}/s_expr.mbt | 0 {lib => src/lib}/tree.mbt | 0 {lib => src/lib}/writer.mbt | 0 {main => src/main}/main.mbt | 0 {main => src/main}/moon.pkg.json | 0 12 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 lib/moon.pkg.json create mode 100644 src/lib/moon.pkg.json rename {lib => src/lib}/parser.mbt (100%) rename {lib => src/lib}/parser_test.mbt (100%) rename {lib => src/lib}/primes.mbt (100%) rename {lib => src/lib}/s_expr.mbt (100%) rename {lib => src/lib}/tree.mbt (100%) rename {lib => src/lib}/writer.mbt (100%) rename {main => src/main}/main.mbt (100%) rename {main => src/main}/moon.pkg.json (100%) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 914404d..ee10d35 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -29,6 +29,7 @@ jobs: - name: moon test run: | moon test --target js + moon run src/main --target js # - name: moon bundle # run: moon bundle diff --git a/lib/moon.pkg.json b/lib/moon.pkg.json deleted file mode 100644 index 432ac05..0000000 --- a/lib/moon.pkg.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "import": [], - "test-import": [ - "tiye/cirru-parser" - ] -} diff --git a/moon.mod.json b/moon.mod.json index f58cf7b..1220cd3 100644 --- a/moon.mod.json +++ b/moon.mod.json @@ -1,10 +1,11 @@ { "name": "tiye/cirru-parser", - "version": "0.0.6", + "version": "0.0.7", "deps": {}, "readme": "README.md", "repository": "https://github.com/Cirru/parser.mbt", "license": "Apache-2.0", "keywords": ["Cirru"], + "source": "src", "description": "parser for Cirru Syntax" } diff --git a/src/lib/moon.pkg.json b/src/lib/moon.pkg.json new file mode 100644 index 0000000..b42978b --- /dev/null +++ b/src/lib/moon.pkg.json @@ -0,0 +1,4 @@ +{ + "import": [], + "test-import": [] +} diff --git a/lib/parser.mbt b/src/lib/parser.mbt similarity index 100% rename from lib/parser.mbt rename to src/lib/parser.mbt diff --git a/lib/parser_test.mbt b/src/lib/parser_test.mbt similarity index 100% rename from lib/parser_test.mbt rename to src/lib/parser_test.mbt diff --git a/lib/primes.mbt b/src/lib/primes.mbt similarity index 100% rename from lib/primes.mbt rename to src/lib/primes.mbt diff --git a/lib/s_expr.mbt b/src/lib/s_expr.mbt similarity index 100% rename from lib/s_expr.mbt rename to src/lib/s_expr.mbt diff --git a/lib/tree.mbt b/src/lib/tree.mbt similarity index 100% rename from lib/tree.mbt rename to src/lib/tree.mbt diff --git a/lib/writer.mbt b/src/lib/writer.mbt similarity index 100% rename from lib/writer.mbt rename to src/lib/writer.mbt diff --git a/main/main.mbt b/src/main/main.mbt similarity index 100% rename from main/main.mbt rename to src/main/main.mbt diff --git a/main/moon.pkg.json b/src/main/moon.pkg.json similarity index 100% rename from main/moon.pkg.json rename to src/main/moon.pkg.json