Skip to content

Commit

Permalink
Hard fail when operating system is unknown. (bazelbuild#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcj authored and zaphar committed Oct 26, 2016
1 parent ebc7c1c commit 343ecc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dotnet/csharp.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,7 @@ def _mono_repository_impl(repository_ctx):
elif repository_ctx.os.name.find("mac") != -1:
_mono_osx_repository_impl(repository_ctx)
else:
#if nothing else works look for a local version of mono
_csharp_autoconf(repository_ctx)
fail("Unsupported operating system: %s" % repository_ctx.os.name)

mono_package = repository_rule(
implementation = _mono_repository_impl,
Expand Down

0 comments on commit 343ecc8

Please sign in to comment.