diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-18 22:12:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-18 22:12:56 +0800 |
commit | b20f34adb7726c4389012c2373bacc7e1b05b620 (patch) | |
tree | e0297b96e45f080fd786ea5773c133ddfb908e71 | |
parent | 63d0d810b1ab7710102fce99b66f5a7f55162611 (diff) | |
download | dexon-sol-tools-b20f34adb7726c4389012c2373bacc7e1b05b620.tar dexon-sol-tools-b20f34adb7726c4389012c2373bacc7e1b05b620.tar.gz dexon-sol-tools-b20f34adb7726c4389012c2373bacc7e1b05b620.tar.bz2 dexon-sol-tools-b20f34adb7726c4389012c2373bacc7e1b05b620.tar.lz dexon-sol-tools-b20f34adb7726c4389012c2373bacc7e1b05b620.tar.xz dexon-sol-tools-b20f34adb7726c4389012c2373bacc7e1b05b620.tar.zst dexon-sol-tools-b20f34adb7726c4389012c2373bacc7e1b05b620.zip |
Change file layout
-rw-r--r-- | packages/deployer/src/cli.ts | 4 | ||||
-rw-r--r-- | packages/deployer/src/commands.ts (renamed from packages/deployer/src/src/commands.ts) | 2 | ||||
-rw-r--r-- | packages/deployer/src/compiler.ts (renamed from packages/deployer/src/src/compiler.ts) | 4 | ||||
-rw-r--r-- | packages/deployer/src/deployer.ts (renamed from packages/deployer/src/src/deployer.ts) | 0 | ||||
-rw-r--r-- | packages/deployer/src/migrations/config/token_info.ts | 2 | ||||
-rw-r--r-- | packages/deployer/src/migrations/migrate.ts | 4 | ||||
-rw-r--r-- | packages/deployer/src/test/deploy_test.ts | 8 | ||||
-rw-r--r-- | packages/deployer/src/utils/constants.ts (renamed from packages/deployer/src/src/utils/constants.ts) | 0 | ||||
-rw-r--r-- | packages/deployer/src/utils/contract.ts (renamed from packages/deployer/src/src/utils/contract.ts) | 0 | ||||
-rw-r--r-- | packages/deployer/src/utils/encoder.ts (renamed from packages/deployer/src/src/utils/encoder.ts) | 0 | ||||
-rw-r--r-- | packages/deployer/src/utils/fs_wrapper.ts (renamed from packages/deployer/src/src/utils/fs_wrapper.ts) | 0 | ||||
-rw-r--r-- | packages/deployer/src/utils/types.ts (renamed from packages/deployer/src/src/utils/types.ts) | 0 | ||||
-rw-r--r-- | packages/deployer/src/utils/utils.ts (renamed from packages/deployer/src/src/utils/utils.ts) | 0 |
13 files changed, 12 insertions, 12 deletions
diff --git a/packages/deployer/src/cli.ts b/packages/deployer/src/cli.ts index 53ae3bcfa..decb37fdc 100644 --- a/packages/deployer/src/cli.ts +++ b/packages/deployer/src/cli.ts @@ -5,8 +5,8 @@ import * as path from 'path'; import * as Web3 from 'web3'; import * as yargs from 'yargs'; -import { commands } from './src/commands'; -import { CliOptions, CompilerOptions, DeployerOptions } from './src/utils/types'; +import { commands } from './commands'; +import { CliOptions, CompilerOptions, DeployerOptions } from './utils/types'; const DEFAULT_OPTIMIZER_ENABLED = false; const DEFAULT_CONTRACTS_DIR = path.resolve('contracts'); diff --git a/packages/deployer/src/src/commands.ts b/packages/deployer/src/commands.ts index b87b9e632..2acef8e8f 100644 --- a/packages/deployer/src/src/commands.ts +++ b/packages/deployer/src/commands.ts @@ -1,4 +1,4 @@ -import { migrator } from './../migrations/migrate'; +import { migrator } from './migrations/migrate'; import { Compiler } from './compiler'; import { Deployer } from './deployer'; import { CompilerOptions, DeployerOptions } from './utils/types'; diff --git a/packages/deployer/src/src/compiler.ts b/packages/deployer/src/compiler.ts index dbcaed707..63db6c865 100644 --- a/packages/deployer/src/src/compiler.ts +++ b/packages/deployer/src/compiler.ts @@ -4,7 +4,7 @@ import * as path from 'path'; import solc = require('solc'); import * as Web3 from 'web3'; -import { binPaths } from './../solc/bin_paths'; +import { binPaths } from './solc/bin_paths'; import { fsWrapper } from './utils/fs_wrapper'; import { CompilerOptions, @@ -166,7 +166,7 @@ export class Compiler { }; const solcVersion = Compiler._parseSolidityVersion(source); const fullSolcVersion = binPaths[solcVersion]; - const solcBinPath = `../solc/solc_bin/${fullSolcVersion}`; + const solcBinPath = `./solc/solc_bin/${fullSolcVersion}`; const solcBin = require(solcBinPath); const solcInstance = solc.setupMethods(solcBin); diff --git a/packages/deployer/src/src/deployer.ts b/packages/deployer/src/deployer.ts index 6f03581e8..6f03581e8 100644 --- a/packages/deployer/src/src/deployer.ts +++ b/packages/deployer/src/deployer.ts diff --git a/packages/deployer/src/migrations/config/token_info.ts b/packages/deployer/src/migrations/config/token_info.ts index ec0ed3c0e..7e822fc3b 100644 --- a/packages/deployer/src/migrations/config/token_info.ts +++ b/packages/deployer/src/migrations/config/token_info.ts @@ -1,4 +1,4 @@ -import { constants } from '../../src/utils/constants'; +import { constants } from '../../utils/constants'; import { Token } from '../../types'; export const tokenInfo: Token[] = [ diff --git a/packages/deployer/src/migrations/migrate.ts b/packages/deployer/src/migrations/migrate.ts index 3efd1f9a6..393806b45 100644 --- a/packages/deployer/src/migrations/migrate.ts +++ b/packages/deployer/src/migrations/migrate.ts @@ -2,8 +2,8 @@ import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; -import { Deployer } from './../src/deployer'; -import { constants } from './../src/utils/constants'; +import { Deployer } from '../deployer'; +import { constants } from '../utils/constants'; import { tokenInfo } from './config/token_info'; export const migrator = { diff --git a/packages/deployer/src/test/deploy_test.ts b/packages/deployer/src/test/deploy_test.ts index 51dbf0e5b..e15985e11 100644 --- a/packages/deployer/src/test/deploy_test.ts +++ b/packages/deployer/src/test/deploy_test.ts @@ -1,10 +1,10 @@ import * as chai from 'chai'; import 'mocha'; -import { Compiler } from './../src/compiler'; -import { Deployer } from './../src/deployer'; -import { fsWrapper } from './../src/utils/fs_wrapper'; -import { CompilerOptions, ContractArtifact, ContractData, DoneCallback } from './../src/utils/types'; +import { Compiler } from '../compiler'; +import { Deployer } from '../deployer'; +import { fsWrapper } from '../utils/fs_wrapper'; +import { CompilerOptions, ContractArtifact, ContractData, DoneCallback } from '../utils/types'; import { constructor_args, exchange_binary } from './fixtures/exchange_bin'; import { constants } from './util/constants'; diff --git a/packages/deployer/src/src/utils/constants.ts b/packages/deployer/src/utils/constants.ts index 8871a470d..8871a470d 100644 --- a/packages/deployer/src/src/utils/constants.ts +++ b/packages/deployer/src/utils/constants.ts diff --git a/packages/deployer/src/src/utils/contract.ts b/packages/deployer/src/utils/contract.ts index 546e82dfb..546e82dfb 100644 --- a/packages/deployer/src/src/utils/contract.ts +++ b/packages/deployer/src/utils/contract.ts diff --git a/packages/deployer/src/src/utils/encoder.ts b/packages/deployer/src/utils/encoder.ts index d5f807774..d5f807774 100644 --- a/packages/deployer/src/src/utils/encoder.ts +++ b/packages/deployer/src/utils/encoder.ts diff --git a/packages/deployer/src/src/utils/fs_wrapper.ts b/packages/deployer/src/utils/fs_wrapper.ts index 34c7caa0e..34c7caa0e 100644 --- a/packages/deployer/src/src/utils/fs_wrapper.ts +++ b/packages/deployer/src/utils/fs_wrapper.ts diff --git a/packages/deployer/src/src/utils/types.ts b/packages/deployer/src/utils/types.ts index e054b9cc2..e054b9cc2 100644 --- a/packages/deployer/src/src/utils/types.ts +++ b/packages/deployer/src/utils/types.ts diff --git a/packages/deployer/src/src/utils/utils.ts b/packages/deployer/src/utils/utils.ts index 4390d8813..4390d8813 100644 --- a/packages/deployer/src/src/utils/utils.ts +++ b/packages/deployer/src/utils/utils.ts |