sourcecred/scripts
William Chargin 6663c4f8ad
Fix `ensure-flow.sh` running under Node (#314)
Summary:
The use of `tee /dev/stderr` failed when running as a child process
under Node for some reason. (I haven’t been able to figure out why—it
works fine when run as a standalone script or when run as a child
process under Python.) This is also technically Linux-specific, so I’ve
changed it to use a process substitution. After looking around for a
bit, there doesn’t seem to be a way to do this in a way that is
portable, uses only POSIX shell features, and doesn’t create temporary
files all at the same time, so the script is now run under `bash`.

Test Plan:
Run `yarn travis` and note that the `ensure-flow.sh` output no longer
contains the line `tee: /dev/stderr: No such device or address`.

wchargin-branch: no-tee-devstderr
2018-05-29 12:20:53 -07:00
..
backend.js Turn on flow for scripts/{backend,build,test}.js (#241) 2018-05-08 14:35:56 -07:00
build.js Turn on flow for scripts/{backend,build,test}.js (#241) 2018-05-08 14:35:56 -07:00
check-stopships.sh Check for STOPSHIPs in CI (#301) 2018-05-25 19:27:31 -07:00
ensure-flow.sh Fix `ensure-flow.sh` running under Node (#314) 2018-05-29 12:20:53 -07:00
start.js Proxy Webpack dev server through to an API server (#245) 2018-05-08 16:09:37 -07:00
test.js Turn on flow for scripts/{backend,build,test}.js (#241) 2018-05-08 14:35:56 -07:00