Skip to content

Commit

Permalink
Merge pull request #251 from zong-zhe/update-helloworld
Browse files Browse the repository at this point in the history
feat: add a helloworld package contains a sub package
  • Loading branch information
Peefy authored Oct 23, 2024
2 parents cef3a90 + bf93867 commit a711bc8
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helloworld/0.1.4/kcl.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "helloworld"
edition = "*"
version = "0.1.4"
description = "This is a hello world package that contains a sub package"

Empty file added helloworld/0.1.4/kcl.mod.lock
Empty file.
8 changes: 8 additions & 0 deletions helloworld/0.1.4/main.k
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
schema HelloWorldSchema:
msg: str

The_fisrt_schema_inst = HelloWorldSchema{
msg: "Hello Schema!"
}

The_first_kcl_program = 'Hello World!'
4 changes: 4 additions & 0 deletions helloworld/0.1.4/subhelloworld/kcl.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[package]
name = "subhelloworld"
edition = "v0.10.0"
version = "0.0.1"
Empty file.
1 change: 1 addition & 0 deletions helloworld/0.1.4/subhelloworld/main.k
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The_first_sub_kcl_program = 'Hello Sub World!'

0 comments on commit a711bc8

Please sign in to comment.