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 script takes 2 arguments, first is path to templates dir, | |
* and second is path to folder where to put compiled templates.js | |
* | |
* It scans templates dir, takes all .jade files and compiles them | |
* as Jade templates. Then it writes all template functions to | |
* single output file templates.js | |
*/ | |
var fs = require('fs'); |
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
require './trivial_file_upload_service.rb' | |
require 'rack/test' | |
require 'rspec' | |
set :enviroment, :test | |
end |