-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdo.cmd
26 lines (24 loc) · 728 Bytes
/
do.cmd
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
@echo off
if [%1] == [help] (
echo w $V: set gradle wrapper
echo fixgit: fix permission flag on git index for required files
echo b : build
echo t : test
echo pub : publish plugin to https://plugins.gradle.org/plugin/biz.lermitage.oga
)
if [%1] == [w] (
gradle wrapper --gradle-version=%2 --no-daemon
)
if [%1] == [fixgit] (
echo git update-index --chmod=+x gradlew
git update-index --chmod=+x gradlew
)
if [%1] == [b] (
gradlew clean build -x test --warning-mode all --info --parallel
)
if [%1] == [t] (
gradlew build testClasses check --warning-mode all --info --parallel
)
if [%1] == [pub] (
gradlew clean build testClasses check publishPlugins --warning-mode all --info --parallel
)