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 {
event
state: CompilerState
constructor (public handleImportCall: (fileurl: string, cb) => void) {
constructor (public handleImportCall?: (fileurl: string, cb) => void) {
this.event = new EventManager()
this.state = {
compileJSON: null,
......
#!/usr/bin/env node
require('../dist/run.js');
require('../src/run.js');
import fs from './fileSystem'
import async from 'async'
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'
function regexIndexOf (inputString: string, regex: RegExp, startpos = 0) {
......
......@@ -200,7 +200,10 @@
"tsConfig": "libs/remix-debug/tsconfig.lib.json",
"packageJson": "libs/remix-debug/package.json",
"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 @@
"tsConfig": "libs/remix-simulator/tsconfig.lib.json",
"packageJson": "libs/remix-simulator/package.json",
"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 @@
"tsConfig": "libs/remix-tests/tsconfig.lib.json",
"packageJson": "libs/remix-tests/package.json",
"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