Sha256: 8b112e3a8e02439d548d33181297e0f3f1b42b32e241d6978611651fd1f8f0b9
Contents?: true
Size: 495 Bytes
Versions: 19
Compression:
Stored size: 495 Bytes
Contents
#!/bin/bash mkdir -p tmp/dist/ # browser_test browserifies index.js to tmp/dist yarn run browser_test # comm -3 only returns lines that differ between the two files. If none are different, diff will be empty diff=`diff dist/browser.js tmp/dist/browser.js` # Exit with a non-zero code if the diff isn't empty if [ "$diff" != "" ]; then echo "dist/browser.js is out of date. Please run 'yarn run browser' locally and commit/push the result" exit 1 fi echo "dist/browser.js is up to date"
Version data entries
19 entries across 19 versions & 1 rubygems