miracle2k / django-assets

Django webassets integration.
BSD 2-Clause "Simplified" License
89 stars 79 forks source link

Add a --no-assets-ok option to the management commands. #46

Closed qris closed 9 years ago

qris commented 9 years ago

Allows builds to not fail if no assets are defined. Otherwise our deployment scripts try to build assets and it fails.

miracle2k commented 9 years ago

Thanks for the patch. Thinking about it, I believe it would be preferable to downgrade the "no assets defined" case to a simple hint, and simply return success. I.e. not adding a new option.

qris commented 9 years ago

Thanks, I've replaced the commit with a new one that should achieve that.

miracle2k commented 9 years ago

Thanks.