3539224c42
Converted the Makefile functionality into several bat files to better support building on Windows. All targets have been introduced in the make.bat file, except for "cov" and "format". Running make.bat with no arguments runs the all target per default, just like Makefile. If an argument is supplied, it must be one of all, cover, deps, integ, test, vet, or updatedeps. For example > make.bat test runs the test target.
15 lines
293 B
Batchfile
15 lines
293 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
|
|
if not exist %1\consul\state_store.go exit /B 1
|
|
if not exist %1\consul\fsm.go exit /B 1
|
|
|
|
findstr /R generateUUID %1\consul\state_store.go 1>nul
|
|
if not %ERRORLEVEL% EQU 1 exit /B 1
|
|
|
|
findstr generateUUID %1\consul\fsm.go 1>nul
|
|
if not %ERRORLEVEL% EQU 1 exit /B 1
|
|
|
|
exit /B 0
|