aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/compiler.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-21 20:33:07 +0800
committerFabio Berger <me@fabioberger.com>2018-03-21 20:33:07 +0800
commitaf21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0 (patch)
treed78be23523c152e3c491d215a06f904192e238e6 /packages/deployer/src/compiler.ts
parent07fa01528b5b5febf6852fb439a41c0e892cf830 (diff)
downloaddexon-sol-tools-af21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0.tar
dexon-sol-tools-af21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0.tar.gz
dexon-sol-tools-af21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0.tar.bz2
dexon-sol-tools-af21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0.tar.lz
dexon-sol-tools-af21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0.tar.xz
dexon-sol-tools-af21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0.tar.zst
dexon-sol-tools-af21ad1615c9b0cd1e12b4dfee73c6beb6e57cc0.zip
Add missing DocComments to Deployer package
Diffstat (limited to 'packages/deployer/src/compiler.ts')
-rw-r--r--packages/deployer/src/compiler.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts
index 83977709b..e840ed572 100644
--- a/packages/deployer/src/compiler.ts
+++ b/packages/deployer/src/compiler.ts
@@ -28,6 +28,10 @@ const SOLIDITY_FILE_EXTENSION_REGEX = /(.*\.sol)/;
const IMPORT_REGEX = /(import\s)/;
const DEPENDENCY_PATH_REGEX = /"([^"]+)"/; // Source: https://github.com/BlockChainCompany/soljitsu/blob/master/lib/shared.js
+/**
+ * The Compiler facilitates compiling Solidity smart contracts and saves the results
+ * to artifact files.
+ */
export class Compiler {
private _contractsDir: string;
private _networkId: number;
@@ -148,7 +152,7 @@ export class Compiler {
this._specifiedContracts = opts.specifiedContracts;
}
/**
- * Compiles all Solidity files found in contractsDir and writes JSON artifacts to artifactsDir.
+ * Compiles all Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`.
*/
public async compileAllAsync(): Promise<void> {
await this._createArtifactsDirIfDoesNotExistAsync();