Skip to content

Commit

Permalink
Merge pull request #27 from Peefy/release-0.7.1
Browse files Browse the repository at this point in the history
chore: bump kcl version to latest
  • Loading branch information
Peefy authored Dec 13, 2023
2 parents cfc70e5 + 50f16f4 commit 6fccc86
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.19
require (
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
github.com/spf13/cobra v1.7.0
kcl-lang.io/kcl-go v0.7.1-0.20231210062110-2c7216748ca8
kcl-lang.io/kcl-openapi v0.5.4-0.20231211135748-249fb77aa628
kcl-lang.io/kcl-go v0.7.1
kcl-lang.io/kcl-openapi v0.5.4
kcl-lang.io/kcl-playground v0.5.1-0.20230919072953-347ab8959295
kcl-lang.io/kpm v0.4.2
kcl-lang.io/kpm v0.4.3
)

require (
Expand Down Expand Up @@ -144,7 +144,7 @@ require (
golang.org/x/tools v0.8.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
kcl-lang.io/lib v0.7.2 // indirect
kcl-lang.io/lib v0.7.3 // indirect
oras.land/oras-go v1.2.3 // indirect
oras.land/oras-go/v2 v2.3.0 // indirect
)
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1284,16 +1284,16 @@ k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk=
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
kcl-lang.io/kcl-go v0.7.1-0.20231210062110-2c7216748ca8 h1:5/byA+145YBI9FjMqTtmKGI8KNDNkv/ZUjOWBlK/fuc=
kcl-lang.io/kcl-go v0.7.1-0.20231210062110-2c7216748ca8/go.mod h1:xcGpqeGzHYMv1BQ/9pPhAUSHNIClEoKRUKqeGiq2or8=
kcl-lang.io/kcl-openapi v0.5.4-0.20231211135748-249fb77aa628 h1:vmrNvwaoI7ZSL2/h+w6GOCjEh3tC+wPZSxBQIHqstFg=
kcl-lang.io/kcl-openapi v0.5.4-0.20231211135748-249fb77aa628/go.mod h1:Ai9mFztCVKkRSFabczO/r5hCNdqaNtAc2ZIRxTeV0Mk=
kcl-lang.io/kcl-go v0.7.1 h1:qulSVPT7Kpn68ol35WGABnidhitnC5vGhRsmzEKlnuM=
kcl-lang.io/kcl-go v0.7.1/go.mod h1:byAAoC83Lfk88n33pgADSJAwF6iJcxCl5Z2gbCbKyGw=
kcl-lang.io/kcl-openapi v0.5.4 h1:mOsn7/rhDP08IG4/XRHa/dFdu8s9f1Izo287Dw4SK2E=
kcl-lang.io/kcl-openapi v0.5.4/go.mod h1:Ai9mFztCVKkRSFabczO/r5hCNdqaNtAc2ZIRxTeV0Mk=
kcl-lang.io/kcl-playground v0.5.1-0.20230919072953-347ab8959295 h1:RUY3w6jNAB6GoMo27CO1oS4C4gjyWdMXfOTNpTEnkjs=
kcl-lang.io/kcl-playground v0.5.1-0.20230919072953-347ab8959295/go.mod h1:3aMvkPRLMZeORiQ/sHxXQCopwr8L1MMSSXMPC+hxwPA=
kcl-lang.io/kpm v0.4.2 h1:rEjfUdX+2kmwwuBaYvsNURQ5D97C3qLNBYAd+XT+DbU=
kcl-lang.io/kpm v0.4.2/go.mod h1:9C/Q9RhRDinbhN7HzQxEexw00HVWUYwWbarMuC1E4xM=
kcl-lang.io/lib v0.7.2 h1:ciex5XIsDc/i1Qlu84sOQpSca9WCRQX11nwf1vGyNUY=
kcl-lang.io/lib v0.7.2/go.mod h1:ubsalGXxJaa5II/EsHmsI/tL2EluYHIcW+BwzQPt+uY=
kcl-lang.io/kpm v0.4.3 h1:a97/l8ZSV1GQYWl2AEFOHfEDxvW406oQYKwNoZaeGuE=
kcl-lang.io/kpm v0.4.3/go.mod h1:Yu8uUz7R1NeiP8vJrLQytGVYo+EewJi4EU+rfhYiiYc=
kcl-lang.io/lib v0.7.3 h1:YsKBo5jrICQ3fJobywkB9dFfVIW/ixCAkqmYQ5Z2lqQ=
kcl-lang.io/lib v0.7.3/go.mod h1:ubsalGXxJaa5II/EsHmsI/tL2EluYHIcW+BwzQPt+uY=
oras.land/oras-go v1.2.3 h1:v8PJl+gEAntI1pJ/LCrDgsuk+1PKVavVEPsYIHFE5uY=
oras.land/oras-go v1.2.3/go.mod h1:M/uaPdYklze0Vf3AakfarnpoEckvw0ESbRdN8Z1vdJg=
oras.land/oras-go/v2 v2.3.0 h1:lqX1aXdN+DAmDTKjiDyvq85cIaI4RkIKp/PghWlAGIU=
Expand Down
2 changes: 1 addition & 1 deletion pkg/options/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (o *RunOptions) Run() error {
}
// Maybe a single KCL module folder, use the kcl.mod entry profile to run.
if pkg, e := api.GetKclPackage(transformedEntries[0]); e == nil && fs.IsDir(transformedEntries[0]) {
entries := pkg.GetPkgProfile().Entries
entries := *pkg.GetPkgProfile().Entries
if len(entries) > 0 {
opts.SetEntries(entries)
opts.SetPkgPath(transformedEntries[0])
Expand Down

0 comments on commit 6fccc86

Please sign in to comment.