kopia lustrzana https://github.com/OpenDroneMap/ODM
Updated README.md with details on running ccd_defs_check.pl
Run ccd_defs_check.pl to test that ccd_defs.json compiles.
Add the pre-commit hook to .git/hooks to test compilation automatically.
Former-commit-id: 93af498913
gh-pages
rodzic
083cb27c16
commit
dfbde9b73a
13
README.md
13
README.md
|
@ -121,4 +121,17 @@ So, we'll add the following line to our ccd_defs.json:
|
|||
|
||||
"SONY DSC-HX5V": 6.104,
|
||||
|
||||
To check that ccd_defs.json compiles, run ccd_defs_check.pl
|
||||
If it prints the message 'CCD_DEFS compiles OK', then you can commit your changes.
|
||||
|
||||
And so others can use it, we'll do a pull request to add it to our array for everyone else.
|
||||
|
||||
---
|
||||
|
||||
Maintainers can run the ccd_defs.json compilation test automatically by creating a
|
||||
symbolic link in .git/hooks to hooks/pre-commit
|
||||
|
||||
cd .git/hooks
|
||||
ln -s ../../hooks/pre-commit
|
||||
|
||||
If ccd_defs.json does not compile, then the pre-commit hook will abort the commit.
|
||||
|
|
Ładowanie…
Reference in New Issue