We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a71e0e8 commit 2aa4ef4Copy full SHA for 2aa4ef4
2 files changed
.buildscript/bootstrap.sh
@@ -0,0 +1,25 @@
1
+#!/bin/bash
2
+
3
+if ! which brew >/dev/null; then
4
+ echo "homebrew is not available. Install it from http://brew.sh"
5
+ exit 1
6
+else
7
+ echo "homebrew already installed"
8
+fi
9
10
+if ! which java >/dev/null; then
11
+ echo "installing java..."
12
+ brew tap caskroom/versions
13
+ brew cask install java8
14
15
+ echo "java already installed"
16
17
18
+if ! which mvn >/dev/null; then
19
+ echo "installing maven..."
20
+ brew install maven
21
22
+ echo "maven already installed"
23
24
25
+echo "all dependencies installed."
Makefile
@@ -1,6 +1,5 @@
bootstrap:
- brew cask install java8
- brew install maven
+ .buildscript/bootstrap.sh
dependencies:
mvn install
0 commit comments