mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 15:52:23 +03:00
Implement --compare
This commit is contained in:
parent
97e9459c65
commit
12b7379af5
2 changed files with 42 additions and 6 deletions
|
@ -17,7 +17,7 @@ usage: ros2nix [-h]
|
|||
[--extra-propagated-build-inputs DEP1,DEP2,...]
|
||||
[--extra-check-inputs DEP1,DEP2,...]
|
||||
[--extra-native-build-inputs DEP1,DEP2,...] [--flake]
|
||||
[--nixfmt] [--copyright-holder COPYRIGHT_HOLDER]
|
||||
[--nixfmt] [--compare] [--copyright-holder COPYRIGHT_HOLDER]
|
||||
[--license LICENSE]
|
||||
source [source ...]
|
||||
|
||||
|
@ -74,6 +74,10 @@ options:
|
|||
of the flake repo (default: False)
|
||||
--nixfmt Format the resulting expressions with nixfmt (default:
|
||||
False)
|
||||
--compare Don't write any file, but check whether writing the
|
||||
file would change existing files. Exit with exit code
|
||||
2 if a change is detected. Useful for CI. (default:
|
||||
False)
|
||||
--copyright-holder COPYRIGHT_HOLDER
|
||||
--license LICENSE License of the generated Nix expression, e.g. 'BSD'
|
||||
(default: None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue