From e7e25526be5864d1fb753cb68b0a957c92601aef Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Tue, 28 Jul 2015 22:15:14 +0200 Subject: [PATCH] Add scripts to install deps --- ocaml/{ => scripts}/bootstrap | 4 ---- ocaml/scripts/setup | 6 ++++++ ocaml/scripts/update | 3 +++ 3 files changed, 9 insertions(+), 4 deletions(-) rename ocaml/{ => scripts}/bootstrap (78%) create mode 100755 ocaml/scripts/setup create mode 100755 ocaml/scripts/update diff --git a/ocaml/bootstrap b/ocaml/scripts/bootstrap similarity index 78% rename from ocaml/bootstrap rename to ocaml/scripts/bootstrap index 99b2113..b65da71 100755 --- a/ocaml/bootstrap +++ b/ocaml/scripts/bootstrap @@ -17,7 +17,3 @@ case `uname -s` in esac opam update -opam install lwt -opam install conf-gnutls -opam install ocamlnet -opam install irc-client diff --git a/ocaml/scripts/setup b/ocaml/scripts/setup new file mode 100755 index 0000000..7aa0587 --- /dev/null +++ b/ocaml/scripts/setup @@ -0,0 +1,6 @@ +#!/bin/sh + +./scripts/bootstrap + +opam pin add cheesebot . +opam install cheesebot diff --git a/ocaml/scripts/update b/ocaml/scripts/update new file mode 100755 index 0000000..d3cefc1 --- /dev/null +++ b/ocaml/scripts/update @@ -0,0 +1,3 @@ +#!/bin/sh + +git pull