Skip to content

Commit b7a6d77

Browse files
committed
download data
1 parent ad29045 commit b7a6d77

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313

1414
# Dependency directories (remove the comment below to include it)
1515
# vendor/
16+
17+
*.zip

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
WGET := $(shell which wget)
2+
3+
.PHONY: data
4+
data: data/ucd.all.flat.zip data/ucd.all.grouped.zip
5+
6+
data/ucd.all.flat.zip:
7+
$(WGET) -c https://www.unicode.org/Public/UCD/latest/ucdxml/ucd.all.flat.zip -O $@
8+
9+
data/ucd.all.grouped.zip:
10+
$(WGET) -c https://www.unicode.org/Public/UCD/latest/ucdxml/ucd.all.grouped.zip -O $@

data/.gitkeep

Whitespace-only changes.

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/edipermadi/unicode
2+
3+
go 1.16

scripts/generate/main.go

Whitespace-only changes.

0 commit comments

Comments
 (0)