-
-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CLI option to detect generated code #377
Signed-off-by: Philippe Ombredanne <[email protected]>
- Loading branch information
1 parent
0b3f119
commit 12ba2c5
Showing
5 changed files
with
153 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"scancode_notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", | ||
"scancode_options": { | ||
"input": "<path>", | ||
"--generated": true, | ||
"--json-pp": "<file>" | ||
}, | ||
"files_count": 7, | ||
"files": [ | ||
{ | ||
"path": "simple", | ||
"type": "directory", | ||
"is_generated": false, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "simple/configure", | ||
"type": "file", | ||
"is_generated": true, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "simple/generated_1.java", | ||
"type": "file", | ||
"is_generated": true, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "simple/generated_2.java", | ||
"type": "file", | ||
"is_generated": true, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "simple/generated_3.java", | ||
"type": "file", | ||
"is_generated": true, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "simple/generated_4.java", | ||
"type": "file", | ||
"is_generated": true, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "simple/generated_5.java", | ||
"type": "file", | ||
"is_generated": true, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "simple/generated_6.c", | ||
"type": "file", | ||
"is_generated": true, | ||
"scan_errors": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters