Re: git: 0c8d8ebb7b3e - main - Tools/scripts: Add new script update_crates to replace CARGO_CRATES block
- Reply: Tobias Kortkamp : "Re: git: 0c8d8ebb7b3e - main - Tools/scripts: Add new script update_crates to replace CARGO_CRATES block"
- In reply to: Rodrigo Osorio : "git: 0c8d8ebb7b3e - main - Tools/scripts: Add new script update_crates to replace CARGO_CRATES block"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Nov 2021 10:21:34 UTC
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.