Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit c0cbbbf

Browse files
committed
Rename command yarn env to yarn start-env
1 parent e4a25f7 commit c0cbbbf

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

new_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This project was bootstrapped with [Create Comit App](https://github.com/comit-n
44

55
In the project directory, you can run:
66

7-
### `yarn env`
7+
### `yarn start-env`
88

99
Sets up the development environment, starting blockchain nodes and COMIT nodes.
1010

new_project/examples/btc_eth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ An example project that shows how to swap Bitcoin for Ether with COMIT.
44

55
## How to run this example
66

7-
1. Run `yarn env` to setup the environment.
7+
1. Run `yarn start-env` to setup the environment.
88

99
In a separate terminal:
1010

new_project/examples/btc_eth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"check": "tsc && tslint -p . && prettier --check '**/*.{ts,json,yml}'",
88
"swap": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
99
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
10-
"env": "create-comit-app start-env"
10+
"start-env": "create-comit-app start-env"
1111
},
1212
"keywords": [],
1313
"author": "",

new_project/examples/btc_eth/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function createSwap(maker: Actor, taker: Actor): SwapRequest {
123123
function checkEnvFile(path: string) {
124124
if (!fs.existsSync(path)) {
125125
console.log(
126-
"Could not find file %s. Did you run `yarn create comit-app start-env`?",
126+
"Could not find file %s. Did you run `yarn start-env`?",
127127
path
128128
);
129129
process.exit(1);

new_project/examples/erc20_btc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Both maker and taker are processed in the same terminal.
66

77
## How to run this example
88

9-
1. Run `yarn env` to setup the environment.
9+
1. Run `yarn start-env` to setup the environment.
1010

1111
In a separate terminal:
1212

new_project/examples/erc20_btc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"check": "tsc && tslint -p . && prettier --check '**/*.{ts,json,yml}'",
88
"swap": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/index.ts",
99
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
10-
"env": "create-comit-app start-env"
10+
"start-env": "create-comit-app start-env"
1111
},
1212
"keywords": [],
1313
"author": "",

new_project/examples/erc20_btc/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function createSwap(maker: Actor, taker: Actor): SwapRequest {
140140
function checkEnvFile(path: string) {
141141
if (!fs.existsSync(path)) {
142142
console.log(
143-
"Could not find file %s. Did you run `yarn create comit-app start-env`?",
143+
"Could not find file %s. Did you run `yarn start-env`?",
144144
path
145145
);
146146
process.exit(1);

new_project/examples/separate_apps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ It then consists of 5 steps:
1717

1818
## How to run this example
1919

20-
1. Run `yarn env` to setup the environment.
20+
1. Run `yarn start-env` to setup the environment.
2121

2222
In a separate terminal:
2323

new_project/examples/separate_apps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"maker": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/maker.ts",
99
"taker": "DOTENV_CONFIG_PATH=$HOME/.create-comit-app/env ts-node -r dotenv/config ./src/taker.ts",
1010
"fix": "tslint -p . --fix && prettier --write '**/*.{ts,js,json,yml}'",
11-
"env": "create-comit-app start-env"
11+
"start-env": "create-comit-app start-env"
1212
},
1313
"keywords": [],
1414
"author": "",

new_project/examples/separate_apps/src/lib.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export async function createActor(index: number): Promise<Actor> {
3232
export function checkEnvFile(path: string) {
3333
if (!fs.existsSync(path)) {
3434
console.log(
35-
"Could not find file %s. Did you run `yarn create comit-app start-env`?",
35+
"Could not find file %s. Did you run `yarn start-env`?",
3636
path
3737
);
3838
process.exit(1);

0 commit comments

Comments
 (0)