forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ethereum#13659 from Andy53/Report-when-no-contract…
…s-to-compile Report when no contracts to compile
- Loading branch information
Showing
6 changed files
with
91 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--combined-json ast --pretty-json --json-indent 4 |
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,2 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
pragma solidity >=0.0; |
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,36 @@ | ||
{ | ||
"sourceList": | ||
[ | ||
"no_contract_combined_json/input.sol" | ||
], | ||
"sources": | ||
{ | ||
"no_contract_combined_json/input.sol": | ||
{ | ||
"AST": | ||
{ | ||
"absolutePath": "no_contract_combined_json/input.sol", | ||
"exportedSymbols": {}, | ||
"id": 2, | ||
"license": "GPL-3.0", | ||
"nodeType": "SourceUnit", | ||
"nodes": | ||
[ | ||
{ | ||
"id": 1, | ||
"literals": | ||
[ | ||
"solidity", | ||
">=", | ||
"0.0" | ||
], | ||
"nodeType": "PragmaDirective", | ||
"src": "36:22:0" | ||
} | ||
], | ||
"src": "36:22:0" | ||
} | ||
} | ||
}, | ||
"version": "<VERSION REMOVED>" | ||
} |
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