-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: yamacir-kit <[email protected]>
- Loading branch information
1 parent
a43d713
commit 7530c81
Showing
5 changed files
with
41 additions
and
5 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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.5.233 | ||
0.5.234 |
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 @@ | ||
setup-macos.sh |
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,35 @@ | ||
#!/bin/sh -e | ||
|
||
required() | ||
{ | ||
echo gmp | ||
} | ||
|
||
optional() | ||
{ | ||
echo gcc | ||
} | ||
|
||
documentation() | ||
{ | ||
echo bibtex2html # script/references.sh | ||
echo doxygen | ||
echo pandoc # script/references.sh | ||
} | ||
|
||
brew update | ||
|
||
if test "$#" -eq 0 | ||
then | ||
required | xargs brew install | ||
else | ||
for each in "$@" | ||
do | ||
case "$each" in | ||
-a | --all ) ( required && optional && documentation ) | xargs brew install ;; | ||
-d | --documentation ) ( documentation ) | xargs brew install ;; | ||
-o | --optional ) ( optional ) | xargs brew install ;; | ||
-r | --required ) ( required ) | xargs brew install ;; | ||
esac | ||
done | ||
fi |