On Tue, Jul 10, 2018 at 6:15 PM Brooks Davis <bro...@freebsd.org> wrote:

> On Mon, Jul 09, 2018 at 08:19:13PM +0200, Michael Gmelin wrote:
> >
> >
> > > On 9. Jul 2018, at 19:34, blubee blubeeme <gurenc...@gmail.com> wrote:
> > >
> > > Is it possible to do a git checkout of a specific branch in a ports
> > > makefile?
> > >
> > > How would I go about checking out a particular branch from a github
> project.
> >
> > As branches aren???t stable this won???t buy you anything, that???s why
> you should always go for a tag or commit (which is branch agnostic).
>
> If you want to make it easy to update to the latest commit on a branch,
> take
> a look at devel/llvm-devel/files/gen-Makefile.snapshot.sh for an example
> of automatically extracting that information from the github API.
>
> -- Brooks
>
That's actually pretty neat stuff, thanks for the reference.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to