Skip to content

Commit

Permalink
Run all functional tests on testling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Keskikangas committed Mar 17, 2013
1 parent 7b7a4af commit 3283990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions Jamesfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ browserify = require 'browserify'

james.task 'build', ->

console.log james.list 'spec/!(amd*|performance*|browserGlobal*|nojQuery*)Spec.js'

js = james.list('src/**/*.coffee', 'spec/**/*.coffee').map (filename) ->
james.read(filename)
.transform(coffee filename: filename)
Expand All @@ -16,11 +18,6 @@ james.task 'build', ->
dist.write 'dist/transparency.js'
dist.transform(uglify).write 'dist/transparency.min.js'

tests = ['./spec/basicsSpec.js', './spec/cachedTemplatesSpec.js', './spec/configSpec.js', './spec/directivesSpec.js',
'./spec/formsSpec.js', './spec/listsSpec.js', './spec/modelReferencesSpec.js', './spec/nestedModelsSpec.js']

james.read(browserify(tests).bundle()).write 'spec/functionalSpecs.js'

james.task 'watch', ->

james.watch 'src/**/*.coffee', -> james.run 'build'
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
"spec/lib/jasmine-1.3.1/jasmine-html.js",
"spec/lib/jasmine.tap_reporter.js",
"dist/transparency.js",
"spec/specHelper.js",
"spec/basicsSpec.js",
"spec/!(amd*|performance*|browserGlobal*|nojQuery*)Spec.js",
"spec/runner.js"
],
"browsers": [
Expand Down

0 comments on commit 3283990

Please sign in to comment.