Browse Source

Added run script

Taddeus Kroes 11 năm trước cách đây
mục cha
commit
bf263fa2ea
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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}