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

Fail collectstatic if gulp fails #6

Closed
joshblum opened this issue Jun 28, 2016 · 4 comments
Closed

Fail collectstatic if gulp fails #6

joshblum opened this issue Jun 28, 2016 · 4 comments

Comments

@joshblum
Copy link
Contributor

It would be helpful if the gulp process fails that the collectstatic command also fails. Right now the exit code is unused at https://github.com/beaugunderson/django-gulp/blob/master/django_gulp/management/commands/collectstatic.py#L36 so it should be simple to fail the command here. I can submit a PR if you think this will be useful! Let me know :)

@joshblum joshblum changed the title Fail collectstatic if gulp exits Fail collectstatic if gulp fails Jun 28, 2016
@beaugunderson
Copy link
Owner

sounds great, will happily merge a PR for that, thank you!


Sent from my phone.

On Jun 28, 2016, at 16:01, Joshua Blum [email protected] wrote:

It would be helpful if the gulp process fails that the collectstatic command also fails. Right now the exit code is unused at https://github.com/beaugunderson/django-gulp/blob/master/django_gulp/management/commands/collectstatic.py#L36 so it should be simple to fail the command here. I can submit a PR if you think this will be useful! Let me know :)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@joshblum
Copy link
Contributor Author

Great! If the PR ( #7 ) looks ok, could you update the pypi version? It would be great if I could use this fix in my code asap. Thanks!!

@beaugunderson
Copy link
Owner

merged #7 and released as 2.4.1, thanks again!

@joshblum
Copy link
Contributor Author

Thank you so much for the speedy responses!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants