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
es = require('event-stream') | |
gutil = require('gulp-util') | |
# compile transform function from templates by using modules/transform/transformparser | |
# template is in /modules/transform/textualizer/someTemplateTogenerateJavascript | |
generateFromTemplateFile = (file) -> | |
{TemplateParser, FieldTemplateListParser} = require './src/modules/transform/transformparser' | |
filepath = file.history[0] | |
#console.log JSON.stringify filepath | |
filename = filepath.slice(filepath.lastIndexOf('\\')+1, filepath.length-4) |