Skip to content

Commit

Permalink
update OpenCC to ver 1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
caiguanhao committed Jan 22, 2024
1 parent 220da96 commit 2284a4b
Show file tree
Hide file tree
Showing 4 changed files with 274,407 additions and 274,383 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
all: dicts.go dicts wasm

dicts.go: OpenCC-src
go test -v

dicts: OpenCC-src
(cd dicts && go test -v)

OpenCC-src:
mkdir OpenCC-src && curl -Ls https://github.com/BYVoid/OpenCC/archive/ver.1.1.6.tar.gz | tar --strip-components 1 -C OpenCC-src -xvzf - && (cd OpenCC-src && npm install)
mkdir OpenCC-src && curl -Ls https://github.com/BYVoid/OpenCC/archive/ver.1.1.7.tar.gz | tar --strip-components 1 -C OpenCC-src -xvzf - && (cd OpenCC-src && npm install)

wasm:
(cd wasm && GOOS=js GOARCH=wasm go build -v -o opencc.wasm)

clean:
rm -rf OpenCC-src

.PHONY: dicts wasm
Loading

0 comments on commit 2284a4b

Please sign in to comment.