Skip to content

Commit dbff014

Browse files
committed
style: Rename snapshot to snapshots
1 parent f9d111b commit dbff014

File tree

19 files changed

+24
-1
lines changed

19 files changed

+24
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ npx iconfont init
8585

8686
------
8787

88-
现在,你可以参考[snapshot目录](https://github.com/fwh1990/react-native-iconfont-cli/tree/master/snapshot)的快照文件,以区分不同模式下的图标结构。
88+
现在,你可以参考[snapshot目录](https://github.com/fwh1990/react-native-iconfont-cli/tree/master/snapshots)的快照文件,以区分不同模式下的图标结构。
8989

9090
### save_dir
9191
根据iconfont图标生成的组件存放的位置。每次生成组件之前,该文件夹都会被清空。

snapshots/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## 说明
2+
目录里的内容都是用工具自动生成的。
3+
4+
----------
5+
6+
The icons in folders are all generated by cli command automatically.
7+
8+
--------
9+
10+
```bash
11+
cp -f ./scripts/config/all-in-one-js.json ./iconfont.json
12+
npx ts-node src/index.ts
13+
14+
cp -f ./scripts/config/all-in-one-ts.json ./iconfont.json
15+
npx ts-node src/index.ts
16+
17+
cp -f ./scripts/config/depends-on-js.json ./iconfont.json
18+
npx ts-node src/index.ts
19+
20+
cp -f ./scripts/config/depends-on-ts.json ./iconfont.json
21+
npx ts-node src/index.ts
22+
23+
```

0 commit comments

Comments
 (0)