This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ module.exports = function(grunt) {
10
10
require ( 'load-grunt-tasks' ) ( grunt ) ;
11
11
12
12
grunt . loadTasks ( 'lib/grunt' ) ;
13
+ grunt . loadNpmTasks ( 'angular-benchpress' ) ;
13
14
14
15
var NG_VERSION = versionInfo . currentVersion ;
15
16
NG_VERSION . cdn = versionInfo . cdnVersion ;
@@ -22,7 +23,12 @@ module.exports = function(grunt) {
22
23
//config
23
24
grunt . initConfig ( {
24
25
NG_VERSION : NG_VERSION ,
25
-
26
+ bp_build : {
27
+ options : {
28
+ buildPath : 'build/benchmarks' ,
29
+ benchmarksPath : 'benchmarks'
30
+ }
31
+ } ,
26
32
parallel : {
27
33
travis : {
28
34
tasks : [
Original file line number Diff line number Diff line change 1
1
Instructions for using benchpress (how to create benchmarks, how to run, how to configure) can be
2
2
found at: https://github.com/angular/benchpress/blob/master/README.md .
3
3
4
- In this project, there is a configured grunt task for building the benchmarks, and placing them in
5
- "/build/benchmarks/".
4
+ In this project, there is a configured grunt task for building the benchmarks,
5
+ ` grunt bp_build ` , which places the runnable benchmarks in "/build/benchmarks/".
6
6
The existing ` grunt webserver ` task can be used to serve the built benchmarks at ` localhost:8000/build/benchmarks/<benchmark-name> `
Original file line number Diff line number Diff line change 55
55
"sorted-object" : " ^1.0.0" ,
56
56
"qq" : " ^0.3.5" ,
57
57
"benchmark" : " 1.x.x" ,
58
- "angular-benchpress" : " 0.0.2 "
58
+ "angular-benchpress" : " 0.x.x "
59
59
},
60
60
"licenses" : [
61
61
{
You can’t perform that action at this time.
0 commit comments