From bf938674d6a5095e473c8abf56b505e29840ff5f Mon Sep 17 00:00:00 2001 From: zongz Date: Wed, 23 Oct 2024 16:51:52 +0800 Subject: [PATCH] feat: add a helloworld package contains a sub package Signed-off-by: zongz --- helloworld/0.1.4/kcl.mod | 6 ++++++ helloworld/0.1.4/kcl.mod.lock | 0 helloworld/0.1.4/main.k | 8 ++++++++ helloworld/0.1.4/subhelloworld/kcl.mod | 4 ++++ helloworld/0.1.4/subhelloworld/kcl.mod.lock | 0 helloworld/0.1.4/subhelloworld/main.k | 1 + 6 files changed, 19 insertions(+) create mode 100644 helloworld/0.1.4/kcl.mod create mode 100644 helloworld/0.1.4/kcl.mod.lock create mode 100644 helloworld/0.1.4/main.k create mode 100644 helloworld/0.1.4/subhelloworld/kcl.mod create mode 100644 helloworld/0.1.4/subhelloworld/kcl.mod.lock create mode 100644 helloworld/0.1.4/subhelloworld/main.k diff --git a/helloworld/0.1.4/kcl.mod b/helloworld/0.1.4/kcl.mod new file mode 100644 index 00000000..c019386c --- /dev/null +++ b/helloworld/0.1.4/kcl.mod @@ -0,0 +1,6 @@ +[package] +name = "helloworld" +edition = "*" +version = "0.1.4" +description = "This is a hello world package that contains a sub package" + diff --git a/helloworld/0.1.4/kcl.mod.lock b/helloworld/0.1.4/kcl.mod.lock new file mode 100644 index 00000000..e69de29b diff --git a/helloworld/0.1.4/main.k b/helloworld/0.1.4/main.k new file mode 100644 index 00000000..2ab43baf --- /dev/null +++ b/helloworld/0.1.4/main.k @@ -0,0 +1,8 @@ +schema HelloWorldSchema: + msg: str + +The_fisrt_schema_inst = HelloWorldSchema{ + msg: "Hello Schema!" +} + +The_first_kcl_program = 'Hello World!' \ No newline at end of file diff --git a/helloworld/0.1.4/subhelloworld/kcl.mod b/helloworld/0.1.4/subhelloworld/kcl.mod new file mode 100644 index 00000000..8fee3436 --- /dev/null +++ b/helloworld/0.1.4/subhelloworld/kcl.mod @@ -0,0 +1,4 @@ +[package] +name = "subhelloworld" +edition = "v0.10.0" +version = "0.0.1" diff --git a/helloworld/0.1.4/subhelloworld/kcl.mod.lock b/helloworld/0.1.4/subhelloworld/kcl.mod.lock new file mode 100644 index 00000000..e69de29b diff --git a/helloworld/0.1.4/subhelloworld/main.k b/helloworld/0.1.4/subhelloworld/main.k new file mode 100644 index 00000000..7f403b4a --- /dev/null +++ b/helloworld/0.1.4/subhelloworld/main.k @@ -0,0 +1 @@ +The_first_sub_kcl_program = 'Hello Sub World!' \ No newline at end of file