Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- filename="$1.go"
- echo "compiling $filename ..."
- out=$(6g $filename)
- printf "$out"
- if [$out -eq ""];
- then
- filename="$1.6"
- echo "linking $filename ..."
- out= $(6l -o $1 $filename)
- printf "$out"
- if [$out -eq ""];
- then
- echo "go for it: ./$1"
- fi
- fi
Add Comment
Please, Sign In to add comment