We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b208611 commit 5b6ee88Copy full SHA for 5b6ee88
run
@@ -11,6 +11,16 @@ referenceBranch=""
11
MessageColor='\033[0;32m'
12
CancelMessageColor='\033[0m'
13
14
+function switchRunnerIfWindows() {
15
+ case "$(uname -s)" in
16
+ CYGWIN*|MINGW*|MSYS*)
17
+ echo 'Windows detected => Use run.bat'
18
+ ./run.bat
19
+ exit
20
+ ;;
21
+ esac
22
+}
23
+
24
function askLanguage() {
25
while true; do
26
read -p "Language (js, csharp, java, php) ? " response
@@ -345,6 +355,8 @@ function initializeWorkflow(){
345
355
git checkout -b $workshopBranch $currentTestTag
346
356
}
347
357
358
+switchRunnerIfWindows
359
348
360
askLanguage
349
361
350
362
clean
0 commit comments