Standalone snowflake

* Start of #30
This commit is contained in:
Arlo Breault 2016-12-19 20:09:46 -08:00
parent c8c5d56b73
commit e295556254
7 changed files with 52 additions and 23 deletions

View file

@ -35,7 +35,8 @@ task 'test', 'snowflake unit tests', ->
# Simply concat all the files because we're not using node exports.
jasmineFiles = FILES_ALL
outFile = 'test/bundle.spec.coffee'
exec 'cat ' + jasmineFiles.join(' ') + ' | cat > ' + outFile
exec 'echo "TESTING = true" > ' + outFile
exec 'cat ' + jasmineFiles.join(' ') + ' | cat >> ' + outFile
execSync 'coffee -cb ' + outFile
spawn 'jasmine', ['test/bundle.spec.js'], {
stdio: 'inherit'