nextcloud / collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
GNU Affero General Public License v3.0
95 stars 16 forks source link

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

Closed max-nextcloud closed 2 days ago

max-nextcloud commented 2 days ago

📝 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