Skip to content

Commit b57ba6e

Browse files
committed
📝 update docs about codes
1 parent 2a785b1 commit b57ba6e

File tree

2 files changed

+16
-27
lines changed

2 files changed

+16
-27
lines changed

doc/develop.md

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,40 @@
11
# Develop
22

3-
## Requirement
3+
## STEPS
44

55
### 0.use GIT to clone this repository
66

7-
```bash
8-
cd myFolder
7+
```sh
8+
#cd myFolder
99
git clone https://github.com/dosasm/masm-tasm.git
1010
```
1111

12-
### 1.install nodejs and npm
12+
### 1.install nodejs and npm and yarn
1313

1414
the website of nodejs: <http://nodejs.org>, <http://nodejs.cn/>
1515

16-
```bash
16+
```sh
1717
sudo apt install nodejs
1818
sudo apt install npm
19+
npm install --global yarn
1920
```
2021

21-
<details>
22-
<summary>use CNPM</summary>
23-
24-
可以使用[CNPM](<https://developer.aliyun.com/mirror/NPM?from=tnpm>)来安装npm包
25-
26-
```bash
27-
# 使用alias来使用cnpm:
28-
alias cnpm="npm --registry=https://registry.npm.taobao.org --cache=$HOME/.npm/.cache/cnpm --disturl=https://npm.taobao.org/dist --userconfig=$HOME/.cnpmrc"
29-
# 使用npm安装cnpm:
30-
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org
31-
```
32-
33-
</details>
34-
3522
### 2.install dependence
3623

37-
```bash
38-
# install npm packages
39-
npm install #or use cnpm install
40-
# install for tool jsdos
41-
cd tools/js-dos && npm install && cd ../..
24+
```sh
25+
yarn install
4226
```
4327

4428
### 3.generate `visx` package
4529

46-
```bash
47-
npm run package
30+
```sh
31+
npx vsce package
4832
```
4933

5034
### Debug
5135

36+
```sh
37+
yarn watch
38+
```
39+
5240
Press <kbd>F5</kbd> or Click `run` -> `Start Debugging`

src/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
- folder `language`: provide Programmatic language features
44
- folder `utils`: chore like i18n
55
- folder `diagnose`: process the message of Assembler
6-
- folder `ASM`: codes for action with assembler and emulator
6+
- folder `ASM`: interface for interaction with assembler and emulator
7+
- folder `emulators`: codes for interaction with assembler and emulator

0 commit comments

Comments
 (0)