`fileextension` is insufficient
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- lua
- Domain
- build-system, tooling
Research direction
The issue concerns Premake's fileextension rule and proposes a filepattern rule for extensionless files and mid-extension matches. No implementation files or tests are named, so first locate the existing rule and its test coverage. Done means the supported pattern cases and the deprecation path are clearly defined and verified.
Written by the indexing model from the issue text.
Description
When defining rules, I've encountered multiple cases where fileextension is insufficient.
Today's occurrence has popped up many times before; I want to write a rule for configure files, which have no file extension.
I think we need to add filepattern and deprecate fileextension, and use filepattern "*.cpp" instead of fileextension ".cpp"
How do we feel about this?
I have also encountered cases where I want to hook a mid-extension like *.mid_ext.*, so I think patterns generalise more nicely than extensions.
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 654
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 13
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from premake/premake-core
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
premake/premake-core#2753 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
premake/premake-core#2741 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
premake/premake-core#2798 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 70/100
premake/premake-core#2788 · 3 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
premake/premake-core#2786 · 10 comments ·
All issues in premake/premake-core
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100