4211
Just ran into first issue from using the portable /bin/sh rather than a modern shell: https://stackoverflow.com/questions/15744421/read-command-doesnt-wait-for-input Turn on errexit everywhere.
This commit is contained in:
parent
cd11138824
commit
ba838feae9
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
./clean top-level
|
||||
./build --until $1 && ./mu_bin test
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
# I usually run this through an alias local to this repo:
|
||||
# $ git config alias.ll '!./git_log_filtered'
|
||||
# $ git ll --stat
|
||||
set -e
|
||||
|
||||
git log $* -- . ":(exclude)html"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
c++ -g linkify.cc -o linkify
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
rm -rf linkify *.dSYM
|
||||
|
|
1
mu
1
mu
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Run interpreter, first compiling if necessary.
|
||||
set -e
|
||||
|
||||
./build && ./mu_bin "$@"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
# Hacky little helper called from edit/ and sandbox/ apps to save a snapshot
|
||||
# of lesson/ using git.
|
||||
set -e
|
||||
|
||||
test -d lesson/.git || exit 0 # give up if it's not a git repo
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
./clean top-level # ignore subsidiary tools like tangle and cleave
|
||||
./build --until $1 && ./subx_bin test
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
set -v
|
||||
rm -rf subx.cc subx_bin* *_list
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# Run SubX VM, first compiling if necessary.
|
||||
set -e
|
||||
|
||||
./build && ./subx_bin "$@"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
# test_layers x y
|
||||
# Test all layers for a specific app:
|
||||
# test_layers app
|
||||
set -e
|
||||
|
||||
if [[ $1 == one-off ]]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue