rbelow / blueprintcss

Automatically exported from code.google.com/p/blueprintcss
1 stars 0 forks source link

compress.rb does not copy images in plugin folders #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make a plugin that uses images
2. run the script
3. note the disturbing lack of images in your output.

Original issue reported on code.google.com by berberca...@gmail.com on 25 Feb 2008 at 9:14

GoogleCodeExporter commented 8 years ago
Chris,

Should work now; give it a spin.

I recommend that, for each plugin that you have, assets (icons etc) are in 
folders that are plugin-specific to 
ensure no files get overwritten (if you had two icons of the same name, both in 
an icons directory, for example)

Original comment by joshua.c...@gmail.com on 28 Feb 2008 at 6:12

GoogleCodeExporter commented 8 years ago
I use the Blueprint .7.1 compressor with the following input:
$ tree .
Blueprint 0.7.1/
|-- AUTHORS
|-- CHANGELOG
|-- LICENSE
|-- README
|-- blueprint
|   |-- ie.css
|   |-- plugins
|   |   |-- buttons
|   |   |   |-- Readme
|   |   |   |-- icons
|   |   |   |   |-- cross.png
|   |   |   |   |-- key.png
|   |   |   |   `-- tick.png
|   |   |   `-- screen.css
|   |   |-- fancy-type
|   |   |   |-- readme.txt
|   |   |   `-- screen.css
|   |   `-- link-icons
|   |       |-- Readme
|   |       |-- icons
|   |       |   |-- doc.png
|   |       |   |-- email.png
|   |       |   |-- external.png
|   |       |   |-- feed.png
|   |       |   |-- im.png
|   |       |   |-- pdf.png
|   |       |   |-- visited.png
|   |       |   `-- xls.png
|   |       `-- screen.css
|   |-- print.css
|   |-- screen.css
|   `-- src
|       |-- forms.css
|       |-- grid.css
|       |-- grid.png
|       |-- ie.css
|       |-- print.css
|       |-- reset.css
|       `-- typography.css
Then I executed compress.rb ($ ruby compress.rb -p project1 > compress.log). As 
you
can see in the attached logfile (compress.log) the plugins are used. I can also 
find
the plugins in my new screen.css file. Tough there are no icons in that same 
folder!

Was this enhancement included in the .7.1 release?

Original comment by a.vannat...@gmail.com on 8 Mar 2008 at 11:04

Attachments:

GoogleCodeExporter commented 8 years ago
a.vannatijne,

This has been fixed as of the latest (trunk) version of Blueprint (r470).  The 
URL to check out trunk is

http://blueprintcss.googlecode.com/svn/blueprint/trunk/

Good luck!

Original comment by joshua.c...@gmail.com on 11 Mar 2008 at 12:50