Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2021 11:21:34 +0100
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        Rodrigo Osorio <rodrigo@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 0c8d8ebb7b3e - main - Tools/scripts: Add new script update_crates to replace CARGO_CRATES block
Message-ID:  <e1ab511b-826f-922b-3acc-fc7b6e38d930@FreeBSD.org>
In-Reply-To: <202111142331.1AENVjaR046946@gitrepo.freebsd.org>
References:  <202111142331.1AENVjaR046946@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15/11/2021 00:31, Rodrigo Osorio wrote:
> The branch main has been updated by rodrigo:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=0c8d8ebb7b3e218ca8a8445785266d33b4d3c8ff
>
> commit 0c8d8ebb7b3e218ca8a8445785266d33b4d3c8ff
> Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
> AuthorDate: 2021-11-12 22:22:31 +0000
> Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
> CommitDate: 2021-11-14 22:45:25 +0000
>
>      Tools/scripts: Add new script update_crates to replace CARGO_CRATES block
>      
>      Simple shell script to help updating Makefile CARGO_CRATES variable
>      returned by make cargo-crates.
>      
>      simplest way to use it :
>         make cargo-crates | update_crates Makefile > NewMakefile

Isn't it what portedit from the portfmt package is for?

This is what I use:

         make cargo-crates; make cargo-crates | portedit merge -i Makefile

I run cargo-crates twice because on the first run there are some logs in stdout, which confuse portedit.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1ab511b-826f-922b-3acc-fc7b6e38d930>