aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/commands.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-08 21:13:24 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 23:46:57 +0800
commit96037aed5231aa9344e5037aa6cff3d01f4abdae (patch)
treec03ac734634156db5dfe1c71b979d0f14f0ef388 /packages/deployer/src/commands.ts
parentf9d80adaeeec827a8c2c81507d68d11e2681dcf3 (diff)
downloaddexon-sol-tools-96037aed5231aa9344e5037aa6cff3d01f4abdae.tar
dexon-sol-tools-96037aed5231aa9344e5037aa6cff3d01f4abdae.tar.gz
dexon-sol-tools-96037aed5231aa9344e5037aa6cff3d01f4abdae.tar.bz2
dexon-sol-tools-96037aed5231aa9344e5037aa6cff3d01f4abdae.tar.lz
dexon-sol-tools-96037aed5231aa9344e5037aa6cff3d01f4abdae.tar.xz
dexon-sol-tools-96037aed5231aa9344e5037aa6cff3d01f4abdae.tar.zst
dexon-sol-tools-96037aed5231aa9344e5037aa6cff3d01f4abdae.zip
Remove deployer
Diffstat (limited to 'packages/deployer/src/commands.ts')
-rw-r--r--packages/deployer/src/commands.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/deployer/src/commands.ts b/packages/deployer/src/commands.ts
deleted file mode 100644
index 8e544a60b..000000000
--- a/packages/deployer/src/commands.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-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.compileAsync();
- },
- async deployAsync(contractName: string, args: any[], opts: DeployerOptions): Promise<void> {
- const deployer = new Deployer(opts);
- await deployer.deployAndSaveAsync(contractName, args);
- },
-};