Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 opened this issue Jun 13, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@zong-zhe
Copy link
Contributor

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
@zong-zhe zong-zhe added the documentation Improvements or additions to documentation label Jun 13, 2023
@zong-zhe zong-zhe self-assigned this Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant