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

azmq formula #42836

Closed
ahundt opened this issue Aug 12, 2015 · 1 comment
Closed

azmq formula #42836

ahundt opened this issue Aug 12, 2015 · 1 comment

Comments

@ahundt
Copy link

ahundt commented Aug 12, 2015

I've created a small formula for the library azmq. However, I'm not sure what tests could be done for the library, which mostly consists of headers. I'm also not sure if it meets the criteria for inclusion in homebrew yet.

@DomT4
Copy link
Member

DomT4 commented Aug 12, 2015

It meets our minimum requirements in terms of popularity. We would need a tagged, stable release though for inclusion into Homebrew - Otherwise it would be welcome in homebrew/head-only. It looks like there's example code available on the project README which looks perfectly acceptable to use. You'd write that to the testpath with something like:

test do
  (testpath/"test.c").write <<-EOS.undent
    #include <azmq/socket.hpp>
    #include <boost/asio.hpp>
    #include <array>

    another line
    another line
    so on
  EOS

  system ENV.cc, "test.c", "-lazmq", "-o", "test"
  system "./test"
end

If you get upstream to tag a stable release, add the test and check it functions, remove the default comments that are placed around the formula for tutorial then we'd be more than happy to review a PR on this. Thanks!

@DomT4 DomT4 closed this as completed Aug 12, 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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants