Commit ef8c4b04 authored by aniket-engg's avatar aniket-engg

build and test command done

parent 7bae5a93
......@@ -5,7 +5,7 @@ import node from "./resources/legacyAST";
tape("ASTWalker Legacy", (t: tape.Test) => {
t.test("ASTWalker.walk && .walkAST", (st: tape.Test) => {
st.plan(19);
st.plan(17);
// New Ast Object
const astWalker = new AstWalker();
// EventListener
......
......@@ -27,6 +27,7 @@
"build": "nx build",
"build:tslibs": "nx run-many --target=build --projects=remix-analyzer,remix-astwalker,remix-solidity,remix-tests,remix-url-resolver",
"test": "nx test",
"test:libs": "nx run-many --target=test --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver",
"lint": "nx lint",
"lint:libs": "nx run-many --target=lint --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver",
"e2e": "nx e2e",
......
......@@ -84,12 +84,28 @@
"cwd": "libs/remix-analyzer"
}
},
"test": {},
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-analyzer"
}
},
"build": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
......@@ -115,12 +131,28 @@
"cwd": "libs/remix-astwalker"
}
},
"test": {},
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-astwalker"
}
},
"build": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
......@@ -146,15 +178,18 @@
"cwd": "libs/remix-debug"
}
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-debug",
"tsConfig": "",
"packageJson": "libs/remix-debug/package.json",
"main": "libs/remix-debug/index.js",
"assets": ["libs/remix-debug/*.md"]
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-debug"
}
}
}
......@@ -176,15 +211,18 @@
"cwd": "libs/remix-lib"
}
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-lib",
"tsConfig": "",
"packageJson": "libs/remix-lib/package.json",
"main": "libs/remix-lib/index.js",
"assets": ["libs/remix-lib/*.md"]
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-lib"
}
}
}
......@@ -206,15 +244,18 @@
"cwd": "libs/remix-simulator"
}
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-simulator",
"tsConfig": "",
"packageJson": "libs/remix-simulator/package.json",
"main": "libs/remix-simulator/index.js",
"assets": ["libs/remix-simulator/*.md"]
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-simulator"
}
}
}
......@@ -236,12 +277,28 @@
"cwd": "libs/remix-solidity"
}
},
"test": {},
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-solidity"
}
},
"build": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
......@@ -267,12 +324,28 @@
"cwd": "libs/remix-tests"
}
},
"test": {},
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-tests"
}
},
"build": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
......@@ -298,12 +371,28 @@
"cwd": "libs/remix-url-resolver"
}
},
"test": {},
"test": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all test"
}
],
"cwd": "libs/remix-url-resolver"
}
},
"build": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "rm -rf ../../dist"
},
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
......
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