Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Add dcadec formula #46411

Closed
wants to merge 1 commit into from
Closed

Add dcadec formula #46411

wants to merge 1 commit into from

Conversation

rcombs
Copy link
Contributor

@rcombs rcombs commented Nov 26, 2015

No description provided.


def install
system "make", "all"
unless File.exist?("test/samples/README")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When would this file exist/not exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in the submodule, and doesn't exist when downloading the tarball.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case it'll never exist. If you use https://github.com/foo86/dcadec.git as the URL and provide :revision and :tag it'll download the submodules for you.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that lock --HEAD to always installing that revision, or just indicate which one the tar.gz comes from?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, --HEAD is still unlocked but will share the repository. Homebrew will just check it out to the right revision.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So does that replace the .tar.gz URL, then?

@bfontaine
Copy link
Contributor

@BrewTestBot test this please.

@DomT4
Copy link
Member

DomT4 commented Dec 13, 2015

Merged in f0c4fcf. Thank you for your contribution to Homebrew @rcombs; we appreciate it! 😺

@DomT4 DomT4 closed this in f0c4fcf Dec 13, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants