-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finally fixed wrong MPH being shown in chat
- Loading branch information
Wyatt Wheeler
committed
Jul 28, 2019
1 parent
d91e7ef
commit 35e9ab9
Showing
4 changed files
with
300 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash -e | ||
cd "$(dirname "$0")" | ||
|
||
test -e compiled || mkdir compiled | ||
|
||
if [[ $# -ne 0 ]]; then | ||
for sourcefile in "$@" | ||
do | ||
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`" | ||
echo -e "\nCompiling $sourcefile..." | ||
./spcomp $sourcefile -ocompiled/$smxfile | ||
done | ||
else | ||
for sourcefile in *.sp | ||
do | ||
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`" | ||
echo -e "\nCompiling $sourcefile ..." | ||
./spcomp $sourcefile -ocompiled/$smxfile | ||
done | ||
fi |
Binary file not shown.
Oops, something went wrong.