Skip to content

add {COPYFILEIFNEWER} token#2617

Open
alchemyyy wants to merge 1 commit intopremake:masterfrom
alchemyyy:master
Open

add {COPYFILEIFNEWER} token#2617
alchemyyy wants to merge 1 commit intopremake:masterfrom
alchemyyy:master

Conversation

@alchemyyy
Copy link

What does this PR do?**

Adds a {COPYIFNEWER} command token that copies a file only if the source is newer than the destination, or the destination doesn't exist.

How does this PR change Premake's behavior?

No breaking changes. Existing behavior is untouched. This just adds a new {COPYIFNEWER} token alongside the existing {COPY}, {COPYFILE}, etc.

Anything else we should know?

Nothing.

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants