run: remove now unneeded || true

This commit is contained in:
1computer1 2020-06-17 01:43:31 -04:00
parent d1720c42e4
commit 42163fab17
29 changed files with 29 additions and 29 deletions

View file

@ -1,2 +1,2 @@
cat > program.apl
apl --OFF -s -f program.apl || true
apl --OFF -s -f program.apl

View file

@ -1,2 +1,2 @@
cat > program.sh
bash program.sh || true
bash program.sh

View file

@ -1 +1 @@
cat | bf || true
cat | bf

View file

@ -1,2 +1,2 @@
cat > program.c
gcc program.c -o program && ./program || true
gcc program.c -o program && ./program

View file

@ -1,2 +1,2 @@
cat > program.clj
clojure program.clj || true
clojure program.clj

View file

@ -1,2 +1,2 @@
cat > program.cpp
g++ program.cpp -o program && ./program || true
g++ program.cpp -o program && ./program

View file

@ -1,2 +1,2 @@
cat > program.cs
csc -nologo program.cs 2>/dev/null && mono program.exe || true
csc -nologo program.cs 2>/dev/null && mono program.exe

View file

@ -1,2 +1,2 @@
cat > program.exs
elixir program.exs || true
elixir program.exs

View file

@ -1,3 +1,3 @@
echo "%% -*- erlang -*-" > program.erl
cat >> program.erl
escript program.erl || true
escript program.erl

View file

@ -1,2 +1,2 @@
cat > program.fs
fsharpc --optimize- program.fs >/dev/null && mono program.exe || true
fsharpc --optimize- program.fs >/dev/null && mono program.exe

View file

@ -1,3 +1,3 @@
export GOCACHE=/tmp/"$CODEDIR"/cache
cat > program.go
go run program.go || true
go run program.go

View file

@ -1,2 +1,2 @@
cat > program.hs
ghc -e main program.hs || true
ghc -e main program.hs

View file

@ -1,2 +1,2 @@
cat > Main.idr
idris --execute ./Main.idr || true
idris --execute ./Main.idr

View file

@ -1,2 +1,2 @@
cat > Main.java
javac Main.java && java Main || true
javac Main.java && java Main

View file

@ -1 +1 @@
cat | node -p || true
cat | node -p

View file

@ -1,2 +1,2 @@
cat > program.jl
julia program.jl || true
julia program.jl

View file

@ -1,2 +1,2 @@
cat > program.lua
lua5.3 program.lua || true
lua5.3 program.lua

View file

@ -1,2 +1,2 @@
cat > program.nim
nim compile --run --colors=off --memTracker=off --verbosity=0 --hints=off --nimcache:/tmp/"$CODEDIR"/cache ./program.nim || true
nim compile --run --colors=off --memTracker=off --verbosity=0 --hints=off --nimcache:/tmp/"$CODEDIR"/cache ./program.nim

View file

@ -1,2 +1,2 @@
cat > program.ml
ocamlopt -cclib --static -o program program.ml && ./program || true
ocamlopt -cclib --static -o program program.ml && ./program

View file

@ -4,7 +4,7 @@ cat > program.pas
res="$(fpc program.pas 2>&1)"
if [ $? -eq 0 ]; then
./program || true
./program
else
printf %s "$res"
fi

View file

@ -1,2 +1,2 @@
cat > program.pl
perl program.pl || true
perl program.pl

View file

@ -1,2 +1,2 @@
cat > program.php
php program.php || true
php program.php

View file

@ -1,2 +1,2 @@
cat > program.pl
swipl --quiet program.pl || true
swipl --quiet program.pl

View file

@ -1,2 +1,2 @@
cat > program.py
python program.py || true
python program.py

View file

@ -1,2 +1,2 @@
cat > program.R
Rscript program.R || true
Rscript program.R

View file

@ -1,2 +1,2 @@
cat > program.rkt
racket program.rkt || true
racket program.rkt

View file

@ -1,2 +1,2 @@
cat > program.rb
ruby program.rb || true
ruby program.rb

View file

@ -1,2 +1,2 @@
cat > program.rs
rustc -C opt-level=0 --color never program.rs && ./program || true
rustc -C opt-level=0 --color never program.rs && ./program

View file

@ -1,2 +1,2 @@
cat > program.ts
tsc --lib ESNext --target ES2019 --strict --skipLibCheck program.ts && cat program.js | node -p || true
tsc --lib ESNext --target ES2019 --strict --skipLibCheck program.ts && cat program.js | node -p