forked from eclipse-che/che
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathche.bat
More file actions
28 lines (22 loc) · 741 Bytes
/
che.bat
File metadata and controls
28 lines (22 loc) · 741 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
@REM
@REM Copyright (c) 2012-2016 Codenvy, S.A.
@REM All rights reserved. This program and the accompanying materials
@REM are made available under the terms of the Eclipse Public License v1.0
@REM which accompanies this distribution, and is available at
@REM http://www.eclipse.org/legal/epl-v10.html
@REM
@REM Contributors:
@REM Codenvy, S.A. - initial API and implementation
@REM
@echo off
REM Check to ensure bash is installed
CALL bash --help > nul 2>&1
IF %ERRORLEVEL% NEQ 0 goto setup
REM Launch matching Bash script which contains commands
CALL bash --login -i "%~dp0\che.sh" %*
goto end
:setup
echo.
echo "REQUIRED: Git Bash for Windows. Get it at https://git-for-windows.github.io/"
echo.
:end