mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-13 22:39:59 +08:00
chore(testacular): use local testacular version
Making testacular a dependency to avoid having to install it globally. (Causes npm issues on some machines)
This commit is contained in:
committed by
Igor Minar
parent
d981c2a3ec
commit
8ce84cb2ea
2
Rakefile
2
Rakefile
@@ -348,7 +348,7 @@ end
|
||||
|
||||
|
||||
def start_testacular(config, singleRun, browsers, misc_options)
|
||||
sh "testacular start " +
|
||||
sh "./node_modules/testacular/bin/testacular start " +
|
||||
"#{config} " +
|
||||
"#{'--single-run=true' if singleRun} " +
|
||||
"#{'--browsers=' + browsers.gsub('+', ',') if browsers} " +
|
||||
|
||||
@@ -99,12 +99,6 @@ pre-packaged bundle.
|
||||
* `npm install`
|
||||
|
||||
|
||||
* Lastly, you'll also need Testacular our spectacular test runner that we use for running unit and end-to-end tests.
|
||||
|
||||
* `sudo npm install -g testacular`
|
||||
|
||||
|
||||
|
||||
## Creating a Github Account and Forking Angular
|
||||
|
||||
To create a Github account, follow the instructions {@link https://github.com/signup/free here}.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "AngularJS",
|
||||
"version": "0.0.0",
|
||||
"dependencies" : {
|
||||
"testacular" : "canary",
|
||||
"jasmine-node" : "*",
|
||||
"q-fs" : "*",
|
||||
"qq" : "*"
|
||||
|
||||
Reference in New Issue
Block a user