Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasvh committed Aug 9, 2017
1 parent 58d1bef commit ed92d23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"webpack": "3.4.1"
},
"scripts": {
"build": "rimraf dist/ && npm run build:npm && npm run build:browser",
"build": "rimraf dist/ && node scripts/create-reftest-list && npm run build:npm && npm run build:browser",
"build:npm": "babel src/ -d dist/npm/",
"build:browser": "webpack",
"format": "prettier --single-quote --no-bracket-spacing --tab-width 4 --print-width 100 --write \"{src,tests,scripts}/**/*.js\"",
Expand Down
4 changes: 2 additions & 2 deletions scripts/parse-reftest.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const ACTION = /^\s*(\w+ ?\w*):\s+(.+)$/;
const TEXT = /^\s*\[(-?\d+), (-?\d+)\]:\s+(.+)$/;
const ACTION = /^\s*(\w+ ?\w*):\s+(.+)/;
const TEXT = /^\s*\[(-?\d+), (-?\d+)\]:\s+(.+)/;
const WINDOW_SIZE = /^\[(-?\d+), (-?\d+)\]$/;
const RECTANGLE = /^\[(-?\d+), (-?\d+), (-?\d+), (-?\d+)\]\s+(.+)$/;
const REPEAT = /^Image\s+\("(.+)"\)\s+\[(-?\d+), (-?\d+)\]\s+Size\s+\((-?\d+), (-?\d+)\)\s+(.+)$/;
Expand Down

0 comments on commit ed92d23

Please sign in to comment.