hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
13 lines (10 loc) • 403 B
text/typescript
import type { NewTaskActionFunction } from "../../../../types/tasks.js";
/**
* Compile task action is an alias of the build task action, it invokes
* the build task to ensure any build overrides are properly executed when
* compile is run.
*/
const compileAction: NewTaskActionFunction = async (args, hre) => {
return await hre.tasks.getTask("build").run(args);
};
export default compileAction;