0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 06:32:39 +00:00

Starting to set up the snippets

This commit is contained in:
Scott Tolksdorf
2017-02-24 00:49:21 -05:00
parent 540c00cb0c
commit 0d0ce101f3
11 changed files with 443 additions and 29 deletions

View File

@@ -1,16 +0,0 @@
//DEPRICATE
const less = require('less');
const fs = require('fs');
console.log('you should not b using this');
less.render(fs.readFileSync('./client/homebrew/phbStyle/phb.style.less', 'utf8'), {compress : true})
.then((output) => {
fs.writeFileSync('./phb.standalone.css', output.css);
console.log('phb.standalone.css created!');
}, (err) => {
console.error(err);
});

4
scripts/snippet.test.js Normal file
View File

@@ -0,0 +1,4 @@
const snippets = require('../shared/homebrewery/snippets/brew');
console.log(snippets.phb.spell.gen());