Skip to content

Instantly share code, notes, and snippets.

@brianleroux
Created November 15, 2013 21:12
Show Gist options
  • Save brianleroux/7491707 to your computer and use it in GitHub Desktop.
Save brianleroux/7491707 to your computer and use it in GitHub Desktop.
Running "topcoat:compile" (topcoat) task
test/fixtures/mobile-dark-button.css tmp/mobile-dark-button.out.css
Warning: Cannot read property 'r' of undefined Use --force to continue.
this.files.forEach(function(f) {
var src = f.src[0].toString(), dest = f.dest.toString();
console.log(src, dest);
resin({src:src, dest:dest});
/*
var src = f.src.filter(function(filepath) {
if (!grunt.file.exists(filepath)) {
grunt.log.warn('Source file "' + filepath + '" not found.');
return false;
} else {
return true;
}
}).map(function(filepath) {
options.src = filepath;
options.dest = f.dest;
resin(options);
});
*/
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment