File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ $targets =
1111 @ { env = " CHAKRACORE_HOME" ; name = " ChakraCore" ; cmd = { & " $env: CHAKRACORE_HOME \ch" $testjs } }
1212$ran = 0
1313
14- $opts = ' {:optimizations :advanced :output-wrapper true :verbose true :compiler-stats true :parallel-build true :output-dir \"builds/out-adv\" :npm-deps {:lodash \"4.17.4\"} :closure-warnings {:non-standard-jsdoc :off :global-this :off} :install-deps true :language-in :es6 :language-out :es5 :foreign-libs [{:file \"src/test/cljs/calculator_global.js\" :provides [\"calculator\"] :global-exports {calculator Calculator}} {:file \"src/test/cljs/es6_dep.js\" :module-type :es6 :provides [\"es6_calc\"]} {:file \"src/test/cljs/calculator.js\" :module-type :commonjs :provides [\"calculator\"]} {:file \"src/test/cljs/es6_default_hello.js\" :provides [\"es6_default_hello\"] :module-type :es6}]}"'
14+ $opts = $ ( ' {:optimizations :advanced :output-wrapper true :verbose true :compiler-stats true :parallel-build true :output-dir \"builds/out-adv\" :output-to \" ' + $testjs + ' \" : npm-deps {:lodash \"4.17.4\"} :closure-warnings {:non-standard-jsdoc :off :global-this :off} :install-deps true :language-in :es6 :language-out :es5 :foreign-libs [{:file \"src/test/cljs/calculator_global.js\" :provides [\"calculator\"] :global-exports {calculator Calculator}} {:file \"src/test/cljs/es6_dep.js\" :module-type :es6 :provides [\"es6_calc\"]} {:file \"src/test/cljs/calculator.js\" :module-type :commonjs :provides [\"calculator\"]} {:file \"src/test/cljs/es6_default_hello.js\" :provides [\"es6_default_hello\"] :module-type :es6}]}"' )
1515
1616function Test-It ($env , $name , [scriptblock ] $cmd ) {
1717 $env_val = if (Test-Path env:$env ) { (Get-Item env:$env ).Value } else { " " }
3232
3333 New-Item builds\out-adv - ItemType Directory - Force | Out-Null
3434
35- bin\cljsc src\test\cljs $opts | Set-Content $testjs
35+ bin\cljsc src\test\cljs $opts
3636
3737 $targets | Foreach-Object { Test-It @_ }
3838}
You can’t perform that action at this time.
0 commit comments