-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (33 loc) · 900 Bytes
/
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
34
35
36
37
38
39
40
41
# Filename: Makefile
# Author: Olivier Sirol <czo@free.fr>
# License: GPL-2.0 (http://www.gnu.org/copyleft)
# File Created: Jan 2012
# Last Modified: Saturday 26 August 2023, 14:09
# Description:
# Makefile for this project
#
# Copyright: (C) 2012-2023 Olivier Sirol <czo@free.fr>
all: release
release:
./gradlew assembleRelease
@echo "<- done!"
scp: release
scp app/build/outputs/apk/release/org.czo.badumtsss-`date +%Y%m%d`-release.apk czo@dalmore:/tank/data/czo/www/ananas.czo.wf/intranet/download/sa/software/apk
@echo "<- done!"
debug:
./gradlew assembleDebug --warning-mode all
@echo "<- done!"
clean:
./gradlew clean
rm -fr .gradle
rm -fr build
rm -fr app/build app/libs app/release app/debug
rm -fr BadumTsss.iml app/app.iml
rm -fr captures
rm -fr .idea
@echo "<- done!"
realclean: clean
rm -f *.apk
@echo "<- done!"
fclean: realclean
re: realclean all