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

feature: kpm pkg needs to support include/exclude mechanism. #306

Closed
zong-zhe opened this issue Apr 26, 2024 · 3 comments
Closed

feature: kpm pkg needs to support include/exclude mechanism. #306

zong-zhe opened this issue Apr 26, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@zong-zhe
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe:

kpm pkg needs to support include/exclude mechanism during the packaging process to support the selection of files in the package.

Describe the feature you'd like:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@zong-zhe zong-zhe added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Apr 26, 2024
@officialasishkumar
Copy link
Contributor

Can you please assign me this issue?

@officialasishkumar
Copy link
Contributor

My current proposal for adding this feature is to have include and exclude in kcl.mod like this:

[package]
name = "my_package"
edition = "v0.8.0"
version = "0.0.1"
include = ["/src", "*."]
exclude = [".*", "dist"]

I will make a function that will exclude and include the files/paths mentioned in the include/exclude key.

cc: @Peefy @zong-zhe

@Peefy
Copy link
Contributor

Peefy commented May 14, 2024

Closed by #316

@Peefy Peefy closed this as completed May 14, 2024
@github-project-automation github-project-automation bot moved this to Done in KCL 2024 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Done
Development

No branches or pull requests

3 participants