Unverified Commit d91743aa authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #869 from ethereum/remix-analyzer

Remix analyzer
parents 8ea5d861 5a67af1d
...@@ -14,16 +14,6 @@ jobs: ...@@ -14,16 +14,6 @@ jobs:
- run: npm install && npm run bootstrap - run: npm install && npm run bootstrap
- run: cd remix-lib && npm test - run: cd remix-lib && npm test
remix-solidity:
docker:
- image: circleci/node:7.10
environment:
working_directory: ~/repo
steps:
- checkout
- run: npm install && npm run bootstrap
- run: cd remix-solidity && npm test
remix-debug: remix-debug:
docker: docker:
- image: circleci/node:7.10 - image: circleci/node:7.10
...@@ -33,12 +23,22 @@ jobs: ...@@ -33,12 +23,22 @@ jobs:
- checkout - checkout
- run: npm install && npm run bootstrap - run: npm install && npm run bootstrap
- run: cd remix-debug && npm test - run: cd remix-debug && npm test
remix-analyzer:
docker:
- image: circleci/node:7.10
environment:
working_directory: ~/repo
steps:
- checkout
- run: npm install && npm run bootstrap
- run: cd remix-analyzer && npm test
workflows: workflows:
version: 2 version: 2
build_all: build_all:
jobs: jobs:
- remix-lib - remix-lib
- remix-solidity
- remix-debug - remix-debug
- remix-analyzer
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"remix-debug", "remix-debug",
"remix-debugger", "remix-debugger",
"remix-lib", "remix-lib",
"remix-solidity" "remix-solidity",
"remix-analyzer"
], ],
"version": "independent" "version": "independent"
} }
var CodeAnalysis = require('./src/analysis/staticAnalysisRunner')
module.exports = {
CodeAnalysis: CodeAnalysis
}
{
"name": "remix-analyzer",
"version": "0.1.0",
"description": "Remix Analyzer",
"main": "./index.js",
"contributors": [
{
"name": "Alex Beregszaszi",
"email": "alex@rtfs.hu"
},
{
"name": "Iuri Matias",
"email": "iuri@ethereum.org"
},
{
"name": "Yann Levreau",
"email": "yann@ethdev.com"
}
],
"dependencies": {
"babel-eslint": "^7.1.1",
"babel-plugin-transform-object-assign": "^6.22.0",
"remix-lib": "^0.2.9",
"babel-preset-es2015": "^6.24.0",
"solc": "^0.4.24",
"standard": "^7.0.1",
"tape": "^4.6.0"
},
"scripts": {
"test": "standard && tape ./test/tests.js"
},
"standard": {
"ignore": [
"node_modules/*",
"soljson.js"
],
"parser": "babel-eslint"
},
"author": "Remix Team",
"license": "MIT",
"homepage": "https://github.com/ethereum/remix#readme"
}
var CodeAnalysis = require('./src/analysis/staticAnalysisRunner')
var Compiler = require('./src/compiler/compiler') var Compiler = require('./src/compiler/compiler')
var CompilerInput = require('./src/compiler/compiler-input') var CompilerInput = require('./src/compiler/compiler-input')
module.exports = { module.exports = {
CodeAnalysis: CodeAnalysis,
Compiler: Compiler, Compiler: Compiler,
CompilerInput: CompilerInput CompilerInput: CompilerInput
} }
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
"webworkify": "^1.2.1" "webworkify": "^1.2.1"
}, },
"scripts": { "scripts": {
"test": "standard && npm run downloadsolc && tape ./test/tests.js",
"downloadsolc": "cd node_modules/solc && (test -e soljson.js || wget --no-check-certificate https://solc-bin.ethereum.org/soljson.js) && cd ..", "downloadsolc": "cd node_modules/solc && (test -e soljson.js || wget --no-check-certificate https://solc-bin.ethereum.org/soljson.js) && cd ..",
"prepublish": "mkdirp build; npm-run-all -ls downloadsolc", "prepublish": "mkdirp build; npm-run-all -ls downloadsolc",
"postinstall": "npm-run-all -ls downloadsolc" "postinstall": "npm-run-all -ls downloadsolc"
......
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