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

fix(Makefile): evaluate composer prerequisits during build #1511

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

max-nextcloud
Copy link
Collaborator

@max-nextcloud max-nextcloud commented Sep 26, 2024

📝 Summary

ifeq (, $(wildcard $(BUILD_TOOLS_DIR)/composer.phar))
is evaluated before any targets are build.
Therefore the file still exists.
It is only removed later when the dist-clean target is build.

Use a file prerequisit instead.
This is evaluated when the target is build.

🖼️ Screenshots

🏚️ Before 🏡 After
grafik grafik

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation is not required

`ifeq (, $(wildcard $(BUILD_TOOLS_DIR)/composer.phar))`
is evaluated before any targets are build.
Therefore the file still exists.
It is only removed later when the `dist-clean` target is build.

Use a file prerequisit instead.
This is evaluated when the target is build.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud merged commit 091d20e into main Sep 26, 2024
42 checks passed
@max-nextcloud max-nextcloud deleted the fix/make-composer-in-release branch September 26, 2024 10:48
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