Skip to content

Commit

Permalink
refactor(ncmapi): manage NCMAPI with submodule
Browse files Browse the repository at this point in the history
also:
  - docs: tells user to clone repo recursively
  - feat(ci): clone recursively
  - feat(ncmapi): backport my change
    Binaryify/NeteaseCloudMusicApi#1453
  - refactor: rewrite startNeteaseMusicApi()
  • Loading branch information
pan93412 committed Jan 26, 2022
1 parent d5ffaca commit ebd863f
Show file tree
Hide file tree
Showing 334 changed files with 2,430 additions and 20,769 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
steps:
- name: Check out Git repository
uses: actions/checkout@v2
with:
submodules: 'recursive'

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "netease_api"]
path = netease_api
url = https://github.com/Binaryify/NeteaseCloudMusicApi
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ macOS 用户也可以通过 `brew install --cask yesplaymusic` 来安装。
2. 克隆本仓库

```sh
git clone https://github.com/qier222/YesPlayMusic.git
git clone --recursive https://github.com/qier222/YesPlayMusic.git
```

3. 安装依赖
Expand Down Expand Up @@ -142,7 +142,7 @@ YesPlayMusic 地址为 `http://localhost`
1. 打包 Electron 需要用到 Node.js 和 Yarn。可前往 [Node.js 官网](https://nodejs.org/zh-cn/) 下载安装包。安装 Node.js
后可在终端里执行 `npm install -g yarn` 来安装 Yarn。

2. 使用 `git clone https://github.com/qier222/YesPlayMusic.git` 克隆本仓库到本地。
2. 使用 `git clone --recursive https://github.com/qier222/YesPlayMusic.git` 克隆本仓库到本地。

3. 使用 `yarn install` 安装项目依赖。

Expand Down
1 change: 1 addition & 0 deletions netease_api
Submodule netease_api added at 69a71c
34 changes: 0 additions & 34 deletions netease_api/.editorconfig

This file was deleted.

49 changes: 0 additions & 49 deletions netease_api/.eslintrc.js

This file was deleted.

5 changes: 0 additions & 5 deletions netease_api/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions netease_api/.npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions netease_api/.prettierrc

This file was deleted.

4 changes: 0 additions & 4 deletions netease_api/.travis.yml

This file was deleted.

Loading

0 comments on commit ebd863f

Please sign in to comment.