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

Support prepare script after pdm install #789

Closed
yinzixie opened this issue Dec 10, 2021 · 3 comments · Fixed by #898
Closed

Support prepare script after pdm install #789

yinzixie opened this issue Dec 10, 2021 · 3 comments · Fixed by #898
Labels
⭐ enhancement Improvements for existing features 💝 good first issue Good for newcomers ❓ help wanted Extra attention is needed

Comments

@yinzixie
Copy link

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

I can configure to automatically run a command after the command pdm install.
Just like script "prepare" in npm.
This would be useful for new users init project, for example, I don't need to worry about them forgetting to init pre-commit.

@yinzixie yinzixie added the ⭐ enhancement Improvements for existing features label Dec 10, 2021
@frostming
Copy link
Collaborator

SGTM, would you like to help implement?

@frostming frostming added 💝 good first issue Good for newcomers ❓ help wanted Extra attention is needed labels Dec 10, 2021
@frostming
Copy link
Collaborator

npm support more special scripts than prepare, as well as pre and post prefixes.

@yinzixie
Copy link
Author

Haha. That's just a user case, I wish I could help but I don't know how to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features 💝 good first issue Good for newcomers ❓ help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants