pop-os / cosmic-bg

Mozilla Public License 2.0
19 stars 22 forks source link

cargo target dir detection does not respect cargo toml config #54

Open mattfbacon opened 3 months ago

mattfbacon commented 3 months ago

https://github.com/pop-os/cosmic-bg/blob/e5637fcc83abeb4e9a675b04a9b98ae4a5c186fa/justfile#L28C1-L28C54

This is good but doesn't respect config.toml which can also override this. Instead you should use cargo metadata --format-version 1 | jq .target_directory -r. That goes for all other cosmic repos as well.