File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,9 @@ jobs:
130
130
- checkout
131
131
- attach_workspace :
132
132
at : ~/plotly.js
133
+ - run :
134
+ name : Update plot-schema.json
135
+ command : node tasks/bundle_plot_schema.js
133
136
- store_artifacts :
134
137
path : build/plotly.js
135
138
destination : /plotly.js
Original file line number Diff line number Diff line change
1
+ var constants = require ( './util/constants' ) ;
2
+ var _bundle = require ( './util/browserify_wrapper' ) ;
3
+ var makeSchema = require ( './util/make_schema' ) ;
4
+
5
+ /*
6
+ * Trimmed down version of ./bundle.js for CI testing
7
+ *
8
+ * Outputs:
9
+ *
10
+ * - plotly-with-meta.js bundle in dist/
11
+ * - plot-schema.json in dist/ (for reference)
12
+ */
13
+
14
+ _bundle ( constants . pathToPlotlyIndex , constants . pathToPlotlyDistWithMeta , {
15
+ standalone : 'Plotly' ,
16
+ noCompress : true
17
+ } , function ( ) {
18
+ makeSchema ( constants . pathToPlotlyDistWithMeta , constants . pathToSchema ) ( ) ;
19
+ } ) ;
You can’t perform that action at this time.
0 commit comments