Skip to content

Commit c3ce016

Browse files
authored
Local Environment Quality of Life Improvement (#520)
* unrelated to totalAffected - local-environment quality of life improvements * rebase * Revert "rebase" This reverts commit c6c5e793b98e704e598f52bf8a9d88dfe8e8c517.
1 parent b986982 commit c3ce016

File tree

4 files changed

+9
-73
lines changed

4 files changed

+9
-73
lines changed

packages/local-environment/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"agents_stop": "docker ps --filter name=_agent -aq | xargs docker rm --force",
1717
"agents_stop_running": "docker ps --filter name=_agent --filter status=running -aq | xargs docker stop",
1818
"build": "tsc --build",
19+
"bootup": "npx ts-node src/start.ts",
1920
"cleanup": "npm run hardhat_stop && npm run agents_stop && npm run agents_clean",
2021
"test:coverage": "jest --collectCoverage",
2122
"hardhat_stop": "docker ps --filter name=_net -aq | xargs docker rm --force",
@@ -24,7 +25,6 @@
2425
"test:integration": "jest int --detectOpenHandles --ci --forceExit",
2526
"test:killswitch": "jest tests/killswitch.int.test.ts",
2627
"test:nomadenv": "jest --detectOpenHandles -t 'nomadenv'",
27-
"start": "npx ts-node tests/start.ts",
2828
"test-agents-die": "npx ts-node tests/agentsDieOnImproperUpdate.ts",
2929
"test-double-update": "npx ts-node tests/watcherDoubleUpdate.ts",
3030
"test-improper-update": "npx ts-node tests/watcherImproperUpdate.ts",

packages/local-environment/src/nomadenv.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class NomadEnv {
7272

7373
const deployContext = this.setDeployContext();
7474

75-
const outputDir = "./output";
75+
const outputDir = __dirname + "/../../output/";
7676
const governanceBatch = await deployContext.deployAndRelinquish();
7777
this.log.info(`Deployed! gov batch:`, governanceBatch);
7878

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defaultStart } from "./nomadenv";
2+
3+
(async () => {
4+
5+
defaultStart();
6+
7+
})();

packages/local-environment/tests/start.ts

-71
This file was deleted.

0 commit comments

Comments
 (0)