-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop'
- Loading branch information
Showing
8 changed files
with
319 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.17 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Get dependencies | ||
run: | | ||
go get -v -t -d ./... | ||
- name: Build | ||
run: go build -v . | ||
|
||
- name: Test | ||
run: go test -v . | ||
|
||
- name: Test cmd | ||
run: | | ||
go get ./cmd/pinyin | ||
go run cmd/pinyin/main.go 测试 | ||
go run cmd/pinyin/main.go -s zhao 测试 | ||
echo 测试 | go run cmd/pinyin/main.go |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
* [ ] 重构 | ||
* [ ] |
Submodule pinyin-data
updated
22 files
+1 −1 | .bumpversion.cfg | |
+31 −0 | .github/workflows/python-app.yml | |
+1 −0 | .gitignore | |
+6 −0 | .gitmodules | |
+36 −0 | CHANGELOG.md | |
+7 −1 | Makefile | |
+20 −5 | README.md | |
+6,261 −0 | cc_cedict.txt | |
+55 −13 | kMandarin.txt | |
+14 −14 | kMandarin_8105.txt | |
+3 −0 | kMandarin_overwrite.txt | |
+8,105 −0 | kTGHZ2013.txt | |
+2 −1 | kXHC1983.txt | |
+5 −1 | merge_unihan.py | |
+12 −1 | overwrite.txt | |
+261 −219 | pinyin.txt | |
+46 −0 | tools/gen_cc_cedict.py | |
+1 −0 | tools/phrase-pinyin-data | |
+1 −0 | tools/python-pinyin | |
+1 −0 | unihan/kTGHZ2013.txt | |
+9 −1 | unihan/parse_pinyin.py | |
+3 −3 | zdic.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.