-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split hardhat & builder / support HardhatEVM (#560)
- Loading branch information
Showing
13 changed files
with
1,398 additions
and
1,440 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const plugin = require("./plugins/hardhat.plugin"); | ||
const PluginUI = require('./plugins/resources/nomiclabs.ui'); | ||
|
||
// UI for the task flags... | ||
const ui = new PluginUI(); | ||
|
||
task("coverage", "Generates a code coverage report for tests") | ||
.addOptionalParam("testfiles", ui.flags.file, "", types.string) | ||
.addOptionalParam("solcoverjs", ui.flags.solcoverjs, "", types.string) | ||
.addOptionalParam('temp', ui.flags.temp, "", types.string) | ||
.setAction(async function(args, env){ | ||
await plugin(args, env) | ||
}); |
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
Oops, something went wrong.