diff options
Diffstat (limited to 'packages/contracts/deploy/src/commands.ts')
-rw-r--r-- | packages/contracts/deploy/src/commands.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/contracts/deploy/src/commands.ts b/packages/contracts/deploy/src/commands.ts deleted file mode 100644 index fc421a760..000000000 --- a/packages/contracts/deploy/src/commands.ts +++ /dev/null @@ -1,19 +0,0 @@ -import {migrator} from './../migrations/migrate'; -import {Compiler} from './compiler'; -import {Deployer} from './deployer'; -import {CompilerOptions, DeployerOptions} from './utils/types'; - -export const commands = { - async compileAsync(opts: CompilerOptions): Promise<void> { - const compiler = new Compiler(opts); - await compiler.compileAllAsync(); - }, - async migrateAsync(opts: DeployerOptions): Promise<void> { - const deployer = new Deployer(opts); - await migrator.runMigrationsAsync(deployer); - }, - async deployAsync(contractName: string, args: any[], opts: DeployerOptions): Promise<void> { - const deployer = new Deployer(opts); - await deployer.deployAndSaveAsync(contractName, args); - }, -}; |