You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You mentioned improving the Makefile for windows support. I'd like to suggest using a Taskfile](https://taskfile.dev/) instead of a Makefile, which provides all the functionality of a Makefile and more. It also allows for distinctive commands based on the OS.
Another great feature is that it can load .env files.
As an example, see the Taskfile I use in my own cookiecutter template: Taskfile
The text was updated successfully, but these errors were encountered:
github actions need install it but makefile default in Ubuntu of github actions.
It a new technique, means people need additional learning cost.
We can get the same function by using makefile.
I have been research some other solution. The best way to build project may be poetry run xxx. We can use poetry test to test the project and using poetry build to build the project.
All command in poetry means we should not maintain excess files like makefile. So the question is how to run script in poetry. Poetry can only run python script originally, python-poetry/poetry#591 and python-poetry/poetry#241 has talk about it. We can using poe the poet plugin to implement it. A simple example is as follows:
Now we can use poetry test to run test = "pytest --cov=poethepoet".
We can use poe the poet. It can be installed in poetry but it still need learning cost. Makefile seems also a good way to build the project if we make some compatibility in Makefile.
🚀 Feature Request
You mentioned improving the Makefile for windows support. I'd like to suggest using a Taskfile](https://taskfile.dev/) instead of a Makefile, which provides all the functionality of a Makefile and more. It also allows for distinctive commands based on the OS.
Another great feature is that it can load .env files.
As an example, see the Taskfile I use in my own cookiecutter template: Taskfile
The text was updated successfully, but these errors were encountered: