Commit 008e60b0 authored by aniket-engg's avatar aniket-engg Committed by Aniket

bin files included in build & minor fix

parent 1a524112
...@@ -16,7 +16,7 @@ export class Compiler { ...@@ -16,7 +16,7 @@ export class Compiler {
event event
state: CompilerState state: CompilerState
constructor (public handleImportCall: (fileurl: string, cb) => void) { constructor (public handleImportCall?: (fileurl: string, cb) => void) {
this.event = new EventManager() this.event = new EventManager()
this.state = { this.state = {
compileJSON: null, compileJSON: null,
......
#!/usr/bin/env node #!/usr/bin/env node
require('../dist/run.js'); require('../src/run.js');
import fs from './fileSystem' import fs from './fileSystem'
import async from 'async' import async from 'async'
import path from 'path' import path from 'path'
const RemixCompiler = require('@remix-project/remix-solidity').Compiler import { Compiler as RemixCompiler } from '@remix-project/remix-solidity'
import { SrcIfc, CompilerConfiguration, CompilationErrors } from './types' import { SrcIfc, CompilerConfiguration, CompilationErrors } from './types'
function regexIndexOf (inputString: string, regex: RegExp, startpos = 0) { function regexIndexOf (inputString: string, regex: RegExp, startpos = 0) {
......
...@@ -200,7 +200,10 @@ ...@@ -200,7 +200,10 @@
"tsConfig": "libs/remix-debug/tsconfig.lib.json", "tsConfig": "libs/remix-debug/tsconfig.lib.json",
"packageJson": "libs/remix-debug/package.json", "packageJson": "libs/remix-debug/package.json",
"main": "libs/remix-debug/index.js", "main": "libs/remix-debug/index.js",
"assets": ["libs/remix-debug/*.md"] "assets": [
{ "glob": "rdb", "input": "libs/remix-debug/bin/", "output": "bin/" },
{ "glob": "*.md", "input": "libs/remix-debug/", "output": "/" }
]
} }
} }
} }
...@@ -278,7 +281,10 @@ ...@@ -278,7 +281,10 @@
"tsConfig": "libs/remix-simulator/tsconfig.lib.json", "tsConfig": "libs/remix-simulator/tsconfig.lib.json",
"packageJson": "libs/remix-simulator/package.json", "packageJson": "libs/remix-simulator/package.json",
"main": "libs/remix-simulator/index.js", "main": "libs/remix-simulator/index.js",
"assets": ["libs/remix-simulator/*.md"] "assets": [
{ "glob": "ethsim", "input": "libs/remix-simulator/bin/", "output": "bin/" },
{ "glob": "*.md", "input": "libs/remix-simulator/", "output": "/" }
]
} }
} }
} }
...@@ -358,7 +364,10 @@ ...@@ -358,7 +364,10 @@
"tsConfig": "libs/remix-tests/tsconfig.lib.json", "tsConfig": "libs/remix-tests/tsconfig.lib.json",
"packageJson": "libs/remix-tests/package.json", "packageJson": "libs/remix-tests/package.json",
"main": "libs/remix-tests/src/index.ts", "main": "libs/remix-tests/src/index.ts",
"assets": ["libs/remix-tests/*.md"] "assets": [
{ "glob": "remix-tests", "input": "libs/remix-tests/bin/", "output": "bin/" },
{ "glob": "*.md", "input": "libs/remix-tests/", "output": "/" }
]
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment