lucasmazza / spriteful

You know, sprites
Other
154 stars 13 forks source link

Change Rails defaults to use `app/assets/sprites`. #29

Closed lucasmazza closed 9 years ago

lucasmazza commented 9 years ago

Partial support for the #28 proposal.

The feedback goes something like this. We still pick sources from app/assets/images, and always save the final files on app/assets/sprites.

$ bin/spriteful --rails
  deprecated  Deprecated sources found: 'app/assets/images/sprites/simple'.
Move them to 'app/assets/sprites'.
  deprecated  Sprites were previously saved at 'app/assets/stylesheets/sprites' and 'app/assets/images/sprites'. They are now at 'app/assets/sprites' instead.
  optimizing  No optimizer found. Please install at least one of the following: pngcrush, pngout, advpng, optipng, pngquant.
   identical  app/assets/sprites/simple.png
   identical  app/assets/sprites/simple.css.erb
luizcosta commented 9 years ago

:+1:

ulissesalmeida commented 9 years ago

Great!