django-bower
django-bower copied to clipboard
'./manage.py bower_install' must return non zero exit code
Try the following:
# ./manage.py bower_install foo-bar-baz-qwe -- --allow-root ; echo $?
bower ENOTFOUND Package foo-bar-baz-qwe not found
0
Perhaps ./manage.py bower_install must return 1 on errors. For example ./manage.py bower_freeze ; echo $? (from root) will return 1 on error (because --allow-root is not specified).
I believe that is a fatal issue because you can not use ./manage.py bower_install in automated build scripts (I faced with this issue when building Docker image which runs bower_install).
This is also causing me problems with an ansible deploy. I can probably code around it but a proper exit code would be much nicer.