-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
612cda3
commit 3f9b8ef
Showing
4 changed files
with
34 additions
and
44 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
#!/bin/sh -e | ||
|
||
os="$(uname)" | ||
case $os in | ||
'Linux') | ||
sudo apt-get update && sudo apt-get install -y git libgmp3-dev build-essential chezscheme | ||
SCHEME=chezscheme | ||
;; | ||
'Darwin') | ||
brew install chezscheme | ||
SCHEME=chez | ||
;; | ||
*) | ||
echo "WARNING: OS $os not supported, unable to install pack." | ||
exit 1 | ||
;; | ||
esac | ||
|
||
( | ||
cd "$(mktemp -d)" | ||
git clone https://github.com/stefan-hoeck/idris2-pack.git | ||
cd idris2-pack | ||
make micropack SCHEME=$SCHEME | ||
) | ||
~/.pack/bin/pack switch HEAD |
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