Added instructions for how to build the examples.

This commit is contained in:
Chris Eppstein 2009-07-09 12:48:36 -07:00
parent d2b1370c80
commit b348fd7d3d
2 changed files with 5 additions and 0 deletions

View File

@ -102,6 +102,7 @@ task :examples do
require 'lib/compass' require 'lib/compass'
require 'lib/compass/exec' require 'lib/compass/exec'
FileList['examples/*'].each do |example| FileList['examples/*'].each do |example|
next unless File.directory?(example)
puts "\nCompiling #{example}" puts "\nCompiling #{example}"
puts "=" * "Compiling #{example}".length puts "=" * "Compiling #{example}".length
# compile any haml templates to html # compile any haml templates to html

4
examples/README.markdown Normal file
View File

@ -0,0 +1,4 @@
To build the examples:
1. You can run the compass command line from any particular compass example project
2. You can compile them all by running `rake examples` at the top of the project directory.