This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Visnu Pitiyanuvath
committed
Oct 3, 2010
1 parent
7a2d96d
commit 04a905e
Showing
8 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.bundle | ||
public/stylesheets/*.css | ||
tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rvm ree@ssh-ios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gem 'haml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
GEM | ||
specs: | ||
haml (3.0.21) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
haml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = require('connect').middleware.compiler.compilers.sass; | ||
module.exports.compile = function(str, fn) { | ||
try { | ||
var sass = require('child_process').spawn('sass', ['--stdin']), | ||
append = function(data) { css += data; }, | ||
css = ''; | ||
sass.stdout.on('data', append); | ||
sass.stderr.on('data', append); | ||
sass.on('exit', function(code) { | ||
if (code === 0) | ||
fn(null, css); | ||
else | ||
fn(new Error('sass exited with code: ' + code + '\n' + css)); | ||
}); | ||
sass.stdin.write(new Buffer(str)); | ||
sass.stdin.end(); | ||
} catch(err) { | ||
fn(err); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters