mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-23 20:29:06 -05:00
docs: compare scraper output in the repo tmp/
This commit is contained in:
1 parent
e257504e20
commit
0b772fe255
2 files changed
+33
-3
No files matched your search
@@ -396,11 +396,14 @@ manipulation rather than load-dump to maintain human-readable formatting.
|
||||
python -m scripts.scraper.myplatform_scraper --json | python -m json.tool | head -50
|
||||
```
|
||||
|
||||
3. **Compare with existing YAML** if updating a scraper:
|
||||
3. **Compare with existing YAML** if updating a scraper. The output goes to the
|
||||
repository's `tmp/`, listed in `.gitignore`, because `/tmp` is a RAM disk on
|
||||
many systems:
|
||||
|
||||
```bash
|
||||
python -m scripts.scraper.myplatform_scraper --output /tmp/test.yml
|
||||
diff platforms/myplatform.yml /tmp/test.yml
|
||||
mkdir -p tmp
|
||||
python -m scripts.scraper.myplatform_scraper --output tmp/test.yml
|
||||
diff platforms/myplatform.yml tmp/test.yml
|
||||
```
|
||||
|
||||
4. **Run verification** after generating:
|
||||
|
||||
Reference in new issue
Block a user