forked from splitwise/TokenAutoComplete
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
10 lines (8 loc) · 734 Bytes
/
Makefile
File metadata and controls
10 lines (8 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
XAM_ANDROID_HOME = $(shell ls -d1 ${HOME}/Library/Developer/Xamarin/android-sdk*)
include gradle.properties
all:
@if [ -z "$(XAM_ANDROID_HOME)" ] ; then echo "No XAM_ANDROID_HOME found."; exit 1; fi
@if [ ! -d "$(XAM_ANDROID_HOME)/build-tools/$(ANDROID_BUILD_TOOLS_VERSION)" ] ; then echo "Need android build-tools $(ANDROID_BUILD_TOOLS_VERSION). Please install it via Android SDK Manager."; exit 1; fi
@if [ ! -d $(XAM_ANDROID_HOME)/extras/android/m2repository ] ; then echo "Please make sure to install the 'Android Support Repository' in the 'Extras' \n section of the Android SDK Manager (Xamarin Studio -> Tools -> \n Open Android SDK Manager...)"; exit 1; fi
ANDROID_HOME=${XAM_ANDROID_HOME} bash gradlew jar
clean: