forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Homebrew#198784 from Homebrew/formula-migrate-pkgconf
formulae: migrate to `pkgconf`
- Loading branch information
Showing
12 changed files
with
23 additions
and
28 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,12 +30,10 @@ class Deno < Formula | |
uses_from_macos "zlib" | ||
|
||
on_linux do | ||
depends_on "pkg-config" => :build | ||
depends_on "pkgconf" => :build | ||
depends_on "glib" | ||
end | ||
|
||
fails_with gcc: "5" | ||
|
||
# Temporary resources to work around build failure due to files missing from crate | ||
# We use the crate as GitHub tarball lacks submodules and this allows us to avoid git overhead. | ||
# TODO: Remove this and `v8` resource when https://github.com/denoland/rusty_v8/issues/1065 is resolved | ||
|
@@ -157,9 +155,9 @@ def check_binary_linkage(binary, library) | |
|
||
assert_match "# Fresh project", (testpath/"fresh-project/README.md").read | ||
|
||
(testpath/"hello.ts").write <<~EOS | ||
(testpath/"hello.ts").write <<~TYPESCRIPT | ||
console.log("hello", "deno"); | ||
EOS | ||
TYPESCRIPT | ||
assert_match "hello deno", shell_output("#{bin}/deno run hello.ts") | ||
assert_match "Welcome to Deno!", | ||
shell_output("#{bin}/deno run https://deno.land/[email protected]/examples/welcome.ts") | ||
|
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
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
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
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
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
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
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
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
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
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
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