Skip to content

Commit

Permalink
Remove truffle files from project
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Apr 26, 2022
1 parent 26898c1 commit 16367d1
Show file tree
Hide file tree
Showing 42 changed files with 54 additions and 2,981 deletions.
23 changes: 0 additions & 23 deletions .circleci/config.yml
Expand Up @@ -27,10 +27,6 @@ jobs:
name: Delete any old node_modules
command: |
rm -rf node_modules/
- run:
name: Install truffle (globally)
command: |
sudo npm install -g truffle
- run:
name: Install dependencies
command: |
Expand All @@ -54,23 +50,6 @@ jobs:
name: Zeppelin E2E
command: |
./scripts/run-zeppelin.sh
e2e-metacoin:
machine: true
steps:
- checkout
- <<: *step_install_nvm
- run:
name: MetaCoin E2E
command: |
./scripts/run-metacoin.sh
e2e-metacoin-windows:
executor: win/default
steps:
- checkout
- run:
name: Windows Metacoin E2E
command: |
bash ./scripts/run-metacoin.sh
e2e-nomiclabs:
machine: true
steps:
Expand All @@ -86,6 +65,4 @@ workflows:
jobs:
- unit-test
- e2e-zeppelin
- e2e-metacoin
- e2e-metacoin-windows
- e2e-nomiclabs
4 changes: 2 additions & 2 deletions lib/ui.js
Expand Up @@ -4,7 +4,7 @@ const emoji = require('node-emoji');
/**
* Coverage tool output formatters. These classes support any the logging solidity-coverage API
* (or plugins which consume it) do on their own behalf. NB, most output is generated by the host
* dev stack (ex: the truffle compile command, or istanbul).
* dev stack (ex: the hardhat compile command, or istanbul).
*/
class UI {
constructor(log){
Expand Down Expand Up @@ -76,7 +76,7 @@ class AppUI extends UI {
'command': `\n${w} ${c.red.bold('solidity-coverage >= 0.7.0 is no longer a shell command.')} ${w}\n` +
`${c.bold('=============================================================')}\n\n` +
`Instead, you should use the plugin produced for your development stack\n` +
`(like Truffle, Buidler) or design a custom workflow using the package API\n\n` +
`(like Hardhat) or design a custom workflow using the package API\n\n` +
`> See https://github.com/sc-forks/solidity-coverage for help with configuration.\n\n` +
`${c.green.bold('Thanks! - sc-forks')}\n`,
};
Expand Down
8 changes: 2 additions & 6 deletions package.json
Expand Up @@ -26,7 +26,6 @@
"dependencies": {
"@ethersproject/abi": "^5.0.9",
"@solidity-parser/parser": "^0.14.1",
"@truffle/provider": "^0.2.24",
"chalk": "^2.4.2",
"death": "^1.1.0",
"detect-port": "^1.3.0",
Expand All @@ -51,8 +50,7 @@
"@nomiclabs/hardhat-truffle5": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@truffle/contract": "^4.0.36",
"buidler-gas-reporter": "^0.1.3",
"@truffle/contract": "4.0.36",
"chai": "^4.3.4",
"decache": "^4.5.1",
"ethereum-waffle": "^3.4.0",
Expand All @@ -61,8 +59,6 @@
"hardhat": "^2.9.3",
"hardhat-gas-reporter": "^1.0.1",
"nyc": "^14.1.1",
"solc": "^0.7.5",
"truffle": "5.1.43",
"truffle-config": "^1.1.18"
"solc": "^0.7.5"
}
}
2 changes: 1 addition & 1 deletion plugins/resources/plugin.utils.js
Expand Up @@ -3,7 +3,7 @@
* of composing a workflow using the solidity-coverage API
*/

const PluginUI = require('./truffle.ui');
const PluginUI = require('./plugin.ui');

const path = require('path');
const fs = require('fs-extra');
Expand Down
102 changes: 0 additions & 102 deletions plugins/resources/truffle.ui.js

This file was deleted.

0 comments on commit 16367d1

Please sign in to comment.