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
# Created by: Nicola Vitale <nivit@FreeBSD.org> | |
# $FreeBSD: head/textproc/libsass/Makefile 360716 2014-07-05 02:58:20Z nivit $ | |
PORTNAME= libsass | |
PORTVERSION= 3.2.0.b6 | |
CATEGORIES= textproc | |
DISTNAME= $(PORTVERSION:S,.b,-beta.,) | |
MAINTAINER= nivit@FreeBSD.org | |
COMMENT= C/C++ implementation of a Sass compiler |
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
for a in i386 amd64 | |
do | |
for j in 10_1 | |
do | |
for e in iojs42 nodejs iojs nodejs010 | |
do | |
poudriere bulk -j "${e}_${j}_${a}" -p exp textproc/node-sass | |
done | |
done | |
done |
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
VER="3.0.0.b7" | |
PKGS="/usr/local/poudriere/data/packages/" | |
v="10_1" | |
DESTDIR="${HOME}/sw/node-sass-binaries" | |
VENDORPATH="/usr/local/lib/node_modules/node-sass/vendor/" | |
for a in i386 amd64 | |
do | |
for p in iojs42 iojs nodejs010 nodejs | |
do | |
pkgname="${PKGS}${p}_${v}_${a}-exp/All/node-sass-${VER}.txz" |
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
.node-gyp/ | |
.node-gyp/0.10.36 | |
.node-gyp/0.10.36/deps | |
.node-gyp/0.10.36/deps/cares | |
.node-gyp/0.10.36/deps/cares/config | |
.node-gyp/0.10.36/deps/cares/config/cygwin | |
.node-gyp/0.10.36/deps/cares/config/darwin | |
.node-gyp/0.10.36/deps/cares/config/freebsd | |
.node-gyp/0.10.36/deps/cares/config/linux | |
.node-gyp/0.10.36/deps/cares/config/netbsd |
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
var sass = require('node-sass'); | |
fs = require('fs'); | |
data = fs.readFileSync('test.scss'); | |
sass.render({ data: data.toString(), outputStyle: 'compressed', success: function(result) { | |
fs.writeFileSync('result.css', result.css); | |
}, | |
error: function(err) { | |
console.error(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
var sass = require("node-sass") | |
var map = new Map(); | |
map.set(sass.types.String("foo").getValue(), sass.types.String("bar").getValue()) | |
map.forEach(function(value, key){ console.log(key+ ": " + value) }); | |
// outputs: foo: bar | |
console.log("Two") | |
console.log(map.get(sass.types.String("foo").getValue())) | |
// outputs: bar |
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
/* index.scss */ | |
@import 'somethingi'; | |
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
/* index.scss */ | |
@import 'somethingi'; | |
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
/* I am barfoo */ |
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
var request = require('request') | |
request.on('init', function(er) {console.log('starting')}) | |
request.on('initialized', function(er) {console.log('ready to go')}) | |
request.on('error', function(er) {console.log('first error handler')}) | |
var z = request.on('error', function(er) { console.log('second error handler')}).get('aaa'); |