We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76d3407 commit 2a00a2aCopy full SHA for 2a00a2a
1 file changed
edit.cmd
@@ -1,7 +1,13 @@
1
@if "%~1"=="" goto usage
2
3
-export TUTORIAL_ROOT="../javascript-tutorial-%1"
4
-@set NODE_LANG=%1
+@set TUTORIAL_ROOT="../javascript-tutorial-%1"
+
5
+@if "%~2"=="" (
6
+ @set NODE_LANG=en
7
+) else (
8
+ @set NODE_LANG=%2
9
+)
10
11
@set NODE_ENV=production
12
@set TUTORIAL_EDIT=1
13
@set ASSET_VERSIONING=query
@@ -14,5 +20,5 @@ call gulp edit
14
20
goto :eof
15
21
16
22
:usage
17
-echo Usage: %0 <Language>
23
+echo Usage: %0 <tutorial language> [<server language>]
18
24
exit /B 1
0 commit comments