-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (28 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This is a very simple Makefile that calls 'gradlew' to do the heavy lifting.
default: debug
debug:
./gradlew --warning-mode=all assembleDebug bundleDebug
release:
./gradlew --warning-mode=all assembleRelease bundleRelease
install:
./gradlew --warning-mode=all installDebug
install-release:
./gradlew --warning-mode=all installRelease
lint:
./gradlew --warning-mode=all lint
archive:
./gradlew --warning-mode=all publishReleasePublicationToLocalRepository
sync: archive
rsync -av --chmod=g+w --chown=:gs-priv $(HOME)/MAVEN/com/ ghostscript.com:/var/www/maven.ghostscript.com/com/
run: install
adb shell am start -n com.artifex.mupdf.mini.app/.LibraryActivity
run-release: install-release
adb shell am start -n com.artifex.mupdf.mini.app/.LibraryActivity
tarball: release
cp app/build/outputs/apk/release/app-universal-release.apk \
mupdf-$(shell git describe --tags)-android-mini.apk
clean:
rm -rf .gradle build
rm -rf jni/.cxx jni/.externalNativeBuild jni/.gradle jni/build
rm -rf lib/.gradle lib/build
rm -rf app/.gradle app/build