forked from telefonicaid/fiware-rss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlicense.bat
More file actions
35 lines (29 loc) · 732 Bytes
/
license.bat
File metadata and controls
35 lines (29 loc) · 732 Bytes
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
@echo off
:MENU
cls
echo =====================
echo � LICENSE �
echo =====================
echo � 0. Quit �
echo � 1. Check �
echo � 2. Format �
echo � 3. Remove �
echo =====================
set /p userinp=License Command?"(0-3):
set userinp=%userinp:~0,1%
if "%userinp%"=="0" goto END
if "%userinp%"=="1" goto check
if "%userinp%"=="2" goto format
if "%userinp%"=="3" goto remove
goto MENU
:check
mvn license:check -Drun-license=true -P license
goto MENU
:format
mvn license:format -Drun-license=true -P license
goto MENU
:remove
mvn license:remove -Drun-license=true -P license
goto MENU
:END
cls