Commit 050854ed authored by Chris Coughlin's avatar Chris Coughlin

Added installation batch file

parent 5de7de31
@echo off
REM installmyriad - installs the Myriad Data Reduction Framework
REM Maven requires JAVA_HOME environment variable
if "%JAVA_HOME%"=="" (
echo Please set the environment variable JAVA_HOME to point to the JDK root folder e.g. "SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_91"
EXIT /B 1
)
REM Check if Maven found in path
for %%X in (mvn) do (set FOUND=%%~$PATH:X)
if not defined FOUND (
echo Unable to find Maven executable.
echo Please add the Apache Maven folder to the path e.g. "SET PATH=%%PATH%%;C:\apache-maven-3.3.9\bin"
EXIT /B 1
)
echo.
REM Install the third-party dependencies that aren't distributed as Maven projects
cd libs
call installdeps.bat
cd ..
call mvn.cmd -DskipTests=true clean install
EXIT /B 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment