Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f937d806
Commit
f937d806
authored
Sep 01, 2016
by
Andrey Mokhov
Browse files
Exit the build script if Hadrian cannot be built
parent
f644b3fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.stack.bat
View file @
f937d806
@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
".."
%
*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment