From cf86e964b166a32227aa4bb0cc1de27a37244c69 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 24 Nov 2023 09:16:18 +0200 Subject: [CI] Added bashrc to docker container --- Year 3/Compilers, Introduction/coolc-spim/my-code/.bashrc | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Year 3/Compilers, Introduction/coolc-spim/my-code/.bashrc diff --git a/Year 3/Compilers, Introduction/coolc-spim/my-code/.bashrc b/Year 3/Compilers, Introduction/coolc-spim/my-code/.bashrc new file mode 100644 index 0000000..0e41d25 --- /dev/null +++ b/Year 3/Compilers, Introduction/coolc-spim/my-code/.bashrc @@ -0,0 +1,2 @@ +export PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] ' +testcase() { make parser && echo && cat $1 && echo && echo "Compiler:" && ./myparser $1; echo && echo "Expected:" && cat $1.out; } -- cgit v1.3.1-23-gd82d