Commit f937d806 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Exit the build script if Hadrian cannot be built

parent f644b3fc
@rem Change the current directory to the one containing this script
@cd %~dp0
@rem Build Hadrian and dependencies
@rem Build Hadrian and dependencies and exit the script if the build failed
@stack build
@if %errorlevel% neq 0 exit /B %errorlevel%
@rem Run Hadrian in GHC top directory forwarding additional user arguments
@stack exec hadrian -- --lint --directory ".." %*
Supports Markdown
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