-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathrun-example.cmd
executable file
·28 lines (23 loc) · 1.11 KB
/
run-example.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
27
28
@echo off
if "%1"=="" goto usage
echo Running example '%1'
mvn -q -f examples/pom.xml exec:java -D"exec.args"="-e %1"
goto done
:usage
echo Error: Missing Example Key. Please specify the example key. (e.g. source-query)
echo
echo ====================================================================
echo List of available examples
echo ====================================================================
echo - Source Server Query Example (key: source-query)
echo - Master Server Query Example (key: master-query)
echo - Source Rcon Example (key: source-rcon)
echo - Clash of Clans Web API Example (key: coc-webapi)
echo - CS:GO Web API Example (key: csgo-webapi)
echo - Steam Web API Example (key: steam-webapi)
echo - Steam Storefront Web API Example (key: steam-store-webapi)
echo - Source Log Listener Example (key: source-log)
echo - Steam Econ Web API Example (key: steam-econ-webapi)
echo - Minecraft Rcon Example (key: mc-rcon)
echo - Dota2 Web API Example (key: dota2-webapi)
:done