Added instructions for how to build the examples.
This commit is contained in:
parent
d2b1370c80
commit
b348fd7d3d
1
Rakefile
1
Rakefile
@ -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
4
examples/README.markdown
Normal 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.
|
Loading…
Reference in New Issue
Block a user