Parcourir la source

Added run script

Taddeus Kroes il y a 11 ans
Parent
commit
bf263fa2ea
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      run.sh

+ 8 - 0
run.sh

@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+pcat () { pygmentize -f terminal256 -O style=native -g $*; }
+set -e
+make -s bf
+./bf | opt-3.5 -O3 -o prog.bc
+make -s prog
+./prog
+rm -f prog{,.bc,.o}