rust-lang / crates-build-env

Build environment for third-party Rust crates
MIT License
71 stars 92 forks source link

Require packages.txt not to have duplicates #44

Closed jyn514 closed 4 years ago

jyn514 commented 4 years ago

Example output for a duplicate xxd package:

--- /tmp/sorted-packages.txt    2020-05-01 14:21:41.785946286 -0400
+++ packages.txt    2020-05-01 14:20:24.102776791 -0400
@@ -1064,5 +1064,6 @@
 xserver-xorg-dev
 xtrans-dev
 xxd
+xxd
 xz-utils
 zlib1g-dev
Lint error: packages.txt is not sorted

r? @pietroalbini

pietroalbini commented 4 years ago

Thanks!