-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3160 from plotly/3159-ci-plot-schema
circleci update plot-schema.json during publish job
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
var constants = require('./util/constants'); | ||
var _bundle = require('./util/browserify_wrapper'); | ||
var makeSchema = require('./util/make_schema'); | ||
|
||
/* | ||
* Trimmed down version of ./bundle.js for CI testing | ||
* | ||
* Outputs: | ||
* | ||
* - plotly-with-meta.js bundle in dist/ | ||
* - plot-schema.json in dist/ (for reference) | ||
*/ | ||
|
||
_bundle(constants.pathToPlotlyIndex, constants.pathToPlotlyDistWithMeta, { | ||
standalone: 'Plotly', | ||
noCompress: true | ||
}, function() { | ||
makeSchema(constants.pathToPlotlyDistWithMeta, constants.pathToSchema)(); | ||
}); |