40409f3151
Summary: This fixes a bug introduced in #317, which only occurred in the cron job variant of the CI script (`yarn travis --full`): the two scripts run in the cron job depend on `yarn backend` having previously written to the `bin/` directory, but this is precisely what we wanted to prevent. To fix this, we simply add an additional target for `yarn backend` during the cron job. This is a little bit wasteful in that we compile the backend applications twice, but it’s not a big deal because (a) it only runs in cron jobs, so it won’t slow down normal builds, and (b) it only takes about 5 seconds, anyway. Test Plan: Export a `GITHUB_TOKEN` and run `yarn travis --full`, which fails before this change and passes after it. wchargin-branch: cron-ci-overwrite-bin |
||
---|---|---|
.. | ||
jest | ||
babel.js | ||
env.js | ||
paths.js | ||
polyfills.js | ||
travis.js | ||
webpack.config.backend.js | ||
webpack.config.dev.js | ||
webpack.config.prod.js | ||
webpackDevServer.config.js |