Add scripts to install deps
This commit is contained in:
parent
3761364d2d
commit
e7e25526be
3 changed files with 9 additions and 4 deletions
19
ocaml/scripts/bootstrap
Executable file
19
ocaml/scripts/bootstrap
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
case `uname -s` in
|
||||
'Darwin')
|
||||
PKG_CONFIG_PATH=/usr/local//Cellar/sqlite/3.8.0.2/lib/pkgconfig
|
||||
brew install gnutls
|
||||
;;
|
||||
'FreeBSD')
|
||||
sudo portsnap fetch update
|
||||
cd /usr/ports/security/gnutls
|
||||
sudo make install
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported platform."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
opam update
|
6
ocaml/scripts/setup
Executable file
6
ocaml/scripts/setup
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
./scripts/bootstrap
|
||||
|
||||
opam pin add cheesebot .
|
||||
opam install cheesebot
|
3
ocaml/scripts/update
Executable file
3
ocaml/scripts/update
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
git pull
|
Loading…
Add table
Add a link
Reference in a new issue