Skip to content

Building with Deno #5253

Apr 1, 2024 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

In Homebrew, all of the installation tasks (including moving the files into the right place) should be completed in the install block (this differs from some other package management systems like AUR or ports where there are distinct compile and package steps).

You should move your post-install steps into the install block. For installing the final build products into the appropriate location, you can use methods such as bin.install "foo/bar/baz" to install the binary in <build temp dir>/foo/bar/baz" as <install prefix>/bin/baz.

You can see more about the install method (and other general knowledge about writing formulae) in the Formula Cookbook.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@alebcay
Comment options

@AngelaDMerkel
Comment options

@branchvincent
Comment options

@AngelaDMerkel
Comment options

@SMillerDev
Comment options

Answer selected by AngelaDMerkel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants