-
Notifications
You must be signed in to change notification settings - Fork 27
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
pack install
doesn't run postinstall
#248
Comments
pack install spidr
doesn't run postinstall
pack install
doesn't run postinstall
I've also checked and |
since my postinstall mainly prints to stdout, it's possible that |
Can you try running with |
|
I also just verified that |
and yes, |
Yes, this is the expected behavior. We want to suppress the output from |
I'm closing this, at it describes expected behavior. Feel free to reopen if you want to further discuss this issue. |
Can I ask why this is the intended behaviour? Why is it different from |
btw I don't seem to have the option to reopen the issue |
The difference is not about the postbuild and postinstall hooks but that - as a default - we want the output of So, internally, pack runs the two commands separately: First As an alternative we could try and filter the output of |
OK, thanks for the detailed explanation. I don't want to take up your time over this detail, and am happy to just use My |
I like the idea of |
As a workaround (if it is appropriate for you), you can print instructions to |
thanks. For now I've used |
I feel it's worth addressing this somehow but don't need it myself so don't need the issue to stay open |
If I
pack install spidr
, pack doesn't runpostinstall
. On the other hand, if I runpack build spidr.ipkg
locally, it does runpostbuild
.My script reads a file and prints some output, so it's obvious when it runs
The text was updated successfully, but these errors were encountered: