Add site metadata
This commit is contained in:
parent
35175a5a1e
commit
fc7fd48748
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
yomichan-gtk/yomichan-gtk*
|
yomichan-gtk/yomichan-gtk*
|
||||||
yomichan/yomichan*
|
yomichan/yomichan*
|
||||||
|
build
|
||||||
|
50
Makefile
Normal file
50
Makefile
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
appname := yomichan-import
|
||||||
|
sources := $(wildcard *.go)
|
||||||
|
|
||||||
|
build = GOOS=$(1) GOARCH=$(2) go build -o build/$(appname)$(3)
|
||||||
|
tar = cd build && tar -cvzf $(appname)_$(1)_$(2).tar.gz $(appname)$(3) && rm $(appname)$(3)
|
||||||
|
zip = cd build && zip $(appname)_$(1)_$(2).zip $(appname)$(3) && rm $(appname)$(3)
|
||||||
|
|
||||||
|
.PHONY: all windows darwin linux clean
|
||||||
|
|
||||||
|
all: windows darwin linux
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf build/
|
||||||
|
|
||||||
|
# linux builds
|
||||||
|
linux: build/$(appname)_linux_arm.tar.gz build/$(appname)_linux_arm64.tar.gz build/$(appname)_linux_386.tar.gz build/$(appname)_linux_amd64.tar.gz
|
||||||
|
|
||||||
|
build/$(appname)_linux_386.tar.gz: $(sources)
|
||||||
|
$(call build,linux,386,)
|
||||||
|
$(call tar,linux,386)
|
||||||
|
|
||||||
|
build/$(appname)_linux_amd64.tar.gz: $(sources)
|
||||||
|
$(call build,linux,amd64,)
|
||||||
|
$(call tar,linux,amd64)
|
||||||
|
|
||||||
|
build/$(appname)_linux_arm.tar.gz: $(sources)
|
||||||
|
$(call build,linux,arm,)
|
||||||
|
$(call tar,linux,arm)
|
||||||
|
|
||||||
|
build/$(appname)_linux_arm64.tar.gz: $(sources)
|
||||||
|
$(call build,linux,arm64,)
|
||||||
|
$(call tar,linux,arm64)
|
||||||
|
|
||||||
|
# darwin builds
|
||||||
|
darwin: build/$(appname)_darwin_amd64.tar.gz
|
||||||
|
|
||||||
|
build/$(appname)_darwin_amd64.tar.gz: $(sources)
|
||||||
|
$(call build,darwin,amd64,)
|
||||||
|
$(call tar,darwin,amd64)
|
||||||
|
|
||||||
|
# windows builds
|
||||||
|
windows: build/$(appname)_windows_386.zip build/$(appname)_windows_amd64.zip
|
||||||
|
|
||||||
|
build/$(appname)_windows_386.zip: $(sources)
|
||||||
|
$(call build,windows,386,.exe)
|
||||||
|
$(call zip,windows,386,.exe)
|
||||||
|
|
||||||
|
build/$(appname)_windows_amd64.zip: $(sources)
|
||||||
|
$(call build,windows,amd64,.exe)
|
||||||
|
$(call zip,windows,amd64,.exe)
|
11
README.md
11
README.md
@ -1,3 +1,12 @@
|
|||||||
|
<!-- +++
|
||||||
|
Area = "projects"
|
||||||
|
GitHub = "yomichan-import"
|
||||||
|
Layout = "page"
|
||||||
|
Tags = ["epwing", "golang", "japanese", "mit license", "yomichan", "zero-epwing"]
|
||||||
|
Description = "External dictionary importer for the Yomichan browser extension."
|
||||||
|
Collection = "ProjectsActive"
|
||||||
|
+++ -->
|
||||||
|
|
||||||
# Yomichan Import
|
# Yomichan Import
|
||||||
|
|
||||||
Yomichan Import allows users of the [Yomichan](https://foosoft.net/projects/yomichan) extension to import custom dictionary files. It currently
|
Yomichan Import allows users of the [Yomichan](https://foosoft.net/projects/yomichan) extension to import custom dictionary files. It currently
|
||||||
@ -20,7 +29,7 @@ Yomichan Import is being expanded to support other EPWING dictionaries based on
|
|||||||
non-technical (although laborious) process that requires writing regular expressions and creating font tables; volunteer
|
non-technical (although laborious) process that requires writing regular expressions and creating font tables; volunteer
|
||||||
contributions are welcome.
|
contributions are welcome.
|
||||||
|
|
||||||
![](https://foosoft.net/projects/yomichan-import/img/import.png)
|
![](img/import.png)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
BIN
img/import.png
Normal file
BIN
img/import.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Loading…
Reference in New Issue
Block a user