mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
update README (use ruby lessc instead of node.js)
This commit is contained in:
parent
e9f0de9d73
commit
4a1c5131f3
2 changed files with 2 additions and 2 deletions
|
@ -63,5 +63,5 @@ These ruby gems are required to build the website:
|
||||||
* jekyll
|
* jekyll
|
||||||
* json
|
* json
|
||||||
* aquarium
|
* aquarium
|
||||||
|
* less
|
||||||
|
|
||||||
Additionally, ```lessc``` is required (in ```$PATH```).
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ module Jekyll
|
||||||
choices = Dir['**/*'].reject { |x| File.symlink?(x) }
|
choices = Dir['**/*'].reject { |x| File.symlink?(x) }
|
||||||
if choices.include?(@file)
|
if choices.include?(@file)
|
||||||
source = File.read(@file)
|
source = File.read(@file)
|
||||||
f = IO.popen("lessc", "w+")
|
f = IO.popen("lessc -", "w+")
|
||||||
f.write(source)
|
f.write(source)
|
||||||
f.close_write()
|
f.close_write()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue