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
[Feature] Add support for scripts #264
Comments
I don't think this is entirely a concern for I think what you are looking for is analogous to something like https://github.com/axvm/cake Aside, you could use the |
The only supported script is the postinstall hook to execute a command when the dependency is installed or updated, for example build an external library or an executable. Arbitrary scripts are unlikely to be implemented. A simple Makefile is much more useful and flexible than npm-like scripts. |
@xquelard What would be the benefit of running |
I'll just close the issue :) |
Beginner in crystal, coming from javascript (node especially), in package.json, you can define scripts than you can run afterwards with "npm run name_of_user_created_script".
Maybe this could be useful as well in the shards.yml ? defining scripts and then "shards run ...".
I can try to add make the pull request for that feature to train on Crystal if you're interested, but I might need a bit of help :)
The text was updated successfully, but these errors were encountered: