Skip to content

Commit 5f7de7a

Browse files
authored
Merge pull request #106 from zong-zhe/support-relative-path
fix: support for mod relative path
2 parents 5cd6bc7 + e8bfe68 commit 5f7de7a

File tree

8 files changed

+22
-3
lines changed

8 files changed

+22
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
kcl-lang.io/kcl-go v0.9.1
1313
kcl-lang.io/kcl-openapi v0.6.3
1414
kcl-lang.io/kcl-playground v0.5.1
15-
kcl-lang.io/kpm v0.9.1-0.20240710094621-7c6b74f8b24c
15+
kcl-lang.io/kpm v0.9.1-0.20240715064158-09233a5a2ceb
1616
)
1717

1818
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,8 +1691,8 @@ kcl-lang.io/kcl-openapi v0.6.3 h1:6Br0IBaNshRvBfmaH22Zv1miVEt6FWlmh2v/wBLb194=
16911691
kcl-lang.io/kcl-openapi v0.6.3/go.mod h1:Ai9mFztCVKkRSFabczO/r5hCNdqaNtAc2ZIRxTeV0Mk=
16921692
kcl-lang.io/kcl-playground v0.5.1 h1:MKQQUHgt4+2QyU2NVwa73oksOaBJGDi4keGoggA0MiU=
16931693
kcl-lang.io/kcl-playground v0.5.1/go.mod h1:IFmnlw7m011ccX8OidMUfnnN2u/TWdtQGxyABRTbmow=
1694-
kcl-lang.io/kpm v0.9.1-0.20240710094621-7c6b74f8b24c h1:qCz15r0JFyB3AEYlSY2Aq1dPbT90EWJga4EMMMylyTc=
1695-
kcl-lang.io/kpm v0.9.1-0.20240710094621-7c6b74f8b24c/go.mod h1:6oKrOP+tNqteyfdlEy1VH8xvy7Eg3FL6q1CHxM4tjc0=
1694+
kcl-lang.io/kpm v0.9.1-0.20240715064158-09233a5a2ceb h1:owbKpqWf3BEKUO1rrqZ/wJpk6MV+eAgW36VaBgsZe+c=
1695+
kcl-lang.io/kpm v0.9.1-0.20240715064158-09233a5a2ceb/go.mod h1:6oKrOP+tNqteyfdlEy1VH8xvy7Eg3FL6q1CHxM4tjc0=
16961696
kcl-lang.io/lib v0.9.1 h1:wPcTYFZo4XQZYHPrEoQjV2SU++2jz2y/1Khfqj2/8DA=
16971697
kcl-lang.io/lib v0.9.1/go.mod h1:tu+tzwGgHLzYZSIxUG/ntipStrxZd6OvutWYPTxS7cs=
16981698
oras.land/oras-go v1.2.5 h1:XpYuAwAb0DfQsunIyMfeET92emK8km3W4yEzZvUbsTo=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kcl run

test/e2e/test_suites/test_kcl_run_28/stderr

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
hello: Hello World!
2+
The_first_kcl_program: Hello World!
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "run_7"
3+
edition = "v0.9.0"
4+
version = "0.0.1"
5+
6+
[dependencies]
7+
helloworld = "0.1.1"
8+
9+
[profile]
10+
entries = ["main.k", "${helloworld:KCL_MOD}/main.k"]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[dependencies]
2+
[dependencies.helloworld]
3+
name = "helloworld"
4+
full_name = "helloworld_0.1.1"
5+
version = "0.1.1"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello = 'Hello World!'

0 commit comments

Comments
 (0)