mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
PklProject.exclude doesn't respect directories
#116
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StefMa on GitHub (Mar 14, 2024).
in my project I have
examples/andtests/directory.Obviously I want to exclude those to be packaged.
I can use the following to ignore the files of these directories:
However, an empty directory
examplesandtestis placed into the finalzip.I guess this should be avoided.
In case of an directory is empty it shouldn't be part of the final
zip.@bioball commented on GitHub (Mar 14, 2024):
Agree; this is an oddity of packaging right now.
@StefMa commented on GitHub (Mar 14, 2024):
If you point me to the direction where to change this I could tackle this
if you want 🙃
On Thu, Mar 14, 2024, 6:39 PM Daniel Chao @.***> wrote:
@bioball commented on GitHub (Mar 14, 2024):
Right here!
9c1ae0d683/pkl-core/src/main/java/org/pkl/core/project/ProjectPackager.java (L343)