Created
April 28, 2018 20:28
-
-
Save zoffixznet/4d8baa08c834ed2159fb6a77560906d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6.c; | |
unit class Build; | |
method build($dist-path) { | |
my $proc = run "curl", "--version", :out, :err; | |
return if $proc.exitcode == 0; | |
die "This module requires 'curl' command, but couldn't find it, abort."; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment