bin files included in build & minor fix

pull/14/head
aniket-engg 5 years ago committed by Aniket
parent 1a52411287
commit 008e60b051
  1. 2
      libs/remix-solidity/src/compiler/compiler.ts
  2. 2
      libs/remix-tests/bin/remix-tests
  3. 2
      libs/remix-tests/src/compiler.ts
  4. 15
      workspace.json

@ -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,

@ -1,4 +1,4 @@
#!/usr/bin/env node
require('../dist/run.js');
require('../src/run.js');

@ -1,7 +1,7 @@
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": "/" }
]
}
}
}

Loading…
Cancel
Save