Skip to content

[FAQ] What is the relationship between the *.k file contained in the kcl.yaml and all *.k files contained in a file directory that kcl compiles? Will they be combined? #90

Open
@zong-zhe

Description

@zong-zhe

What is the relationship between the *.k file contained in the kcl.yaml and all *.k files contained in a file directory that kcl compiles? Will they be combined?

My kcl project directory is shown as below:

-- kcl1
    |- kcl.yaml
    |- main.k

-- kcl2
    | - main.k

The '/kcl1/kcl.yaml' looks like:

kcl_cli_configs:
  file:
    - /kcl2/main.k

If I execute command kcl /kcl1 -Y /kcl1/kcl.yaml in directory /kcl1.

What files need to be compiled ?

# both
/kcl1/main.k
/kcl2/main.k

# or only kcl1 
/kcl1/main.k

# or only kcl2
/kcl2/main.k

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions