@omni-kit/omni-deployer
Version:
Deploy smart contracts across multiple chains using SuperchainFactory
12 lines (11 loc) • 378 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.compileContract = compileContract;
const child_process_1 = require("child_process");
/**
* Compiles the contract using Forge.
*/
function compileContract() {
console.log('Compiling contract with forge build...');
(0, child_process_1.execSync)('forge build', { stdio: 'inherit' });
}