aboutsummaryrefslogtreecommitdiff
path: root/run.sh2
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh2')
-rwxr-xr-xrun.sh28
1 files changed, 4 insertions, 4 deletions
diff --git a/run.sh2 b/run.sh2
index 0e6ee64..9259dd4 100755
--- a/run.sh2
+++ b/run.sh2
@@ -1,15 +1,15 @@
#!/bin/bash
# This script does the following:
-# 1. Builds the project
-# 2. Compiles selected file
-# 3. Assembles executable from compiled asm
+# 1. Builds compiler written in C first
+# 2. Builds the compiler written in CUP with the C compiler
+# 3. Compiles the file specified through CLI with CUP compiler
# 4. Runs the executable
# 5. Echoes the output of the executable
if [ -z "$1" ]
then
- echo "Usage: $0 <arguments to cupcc>"
+ echo "Usage: $0 <arguments to build/cup.out>"
exit 1
fi