5 ms·
Because the Makefile also becomes a central place of what you can run in a project without having dozens of different shell scripts. You can comment on targets,
by dalore 2y ago
Because the Makefile also becomes a central place of what you can run in a project without having dozens of different shell scripts. You can comment on targets, depend on others. Makefile targets to restore, the build i18n files, etc
I made a bash script that takes your Makefile and gives you a nice dialog menu for the targets that have comments. Works nicely as a self documenting project command menu.
https://gist.github.com/oppianmatt/dcc6f19542b080973e6164c7108d9a5a https://gist.github.com/oppianmatt/dcc6f19542b080973e6164c71...
https://private-user-images.githubusercontent.com/48596/326243991-0883a94d-e0d5-4aba-a20c-11e5aa4b7da6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQyOTU0ODYsIm5iZiI6MTcxNDI5NTE4NiwicGF0aCI6Ii80ODU5Ni8zMjYyNDM5OTEtMDg4M2E5NGQtZTBkNS00YWJhLWEyMGMtMTFlNWFhNGI3ZGE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDI4VDA5MDYyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU2MTIxNGQ3MmY4MDVhY2FiMGQyMDYxNzA5ODk0ZWVmMDVmOTI1NDk1NTc4ZDA5MGQ4NzUzMjYxNTViYzg0NmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ohlIJuSMKqirW6poVsN-gXChrw5sDRcPLewPJ0Emzd4 https://private-user-images.githubusercontent.com/48596/3262...