aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-20 11:09:24 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-20 11:09:24 -0700
commit23327d7e357c358654ac302966819808d2bb2215 (patch)
tree9413aab618746da42a4c6e2885080aeb528b8eac
parente330efca04e2d480b346366c19c4b944f8cc9820 (diff)
More reorg
-rw-r--r--.gitattributes2
-rwxr-xr-xbuild_dict.sh9
-rw-r--r--ext/background.html (renamed from extension/background.html)0
-rw-r--r--ext/content.js (renamed from extension/content.js)0
-rw-r--r--ext/icon.png (renamed from extension/icon.png)bin182 -> 182 bytes
-rw-r--r--ext/jp/dictionary.js (renamed from extension/jp/dictionary.js)0
-rw-r--r--ext/jp/translator.js (renamed from extension/jp/translator.js)0
-rw-r--r--ext/lib/jquery-2.2.2.min.js (renamed from extension/lib/jquery-2.2.2.min.js)0
-rw-r--r--ext/manifest.json (renamed from extension/manifest.json)0
9 files changed, 10 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 330b4739..c4d068a1 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,2 @@
util/data/* filter=lfs diff=lfs merge=lfs -text
-extension/jp/data/rules.json filter=lfs diff=lfs merge=lfs -text
+ext/jp/data/rules.json filter=lfs diff=lfs merge=lfs -text
diff --git a/build_dict.sh b/build_dict.sh
new file mode 100755
index 00000000..5dfad9b1
--- /dev/null
+++ b/build_dict.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+KANJIDIC=util/data/kanjidic
+EDICT=util/data/edict
+ENAMDICT=util/data/enamdict
+DICT=ext/jp/data/dict.json
+
+[ -f $DICT ] && rm $DICT
+util/compile.py --kanjidic $KANJIDIC --edict $EDICT $DICT --enamdict $ENAMDICT
diff --git a/extension/background.html b/ext/background.html
index f24cb31c..f24cb31c 100644
--- a/extension/background.html
+++ b/ext/background.html
diff --git a/extension/content.js b/ext/content.js
index dc7c7cd7..dc7c7cd7 100644
--- a/extension/content.js
+++ b/ext/content.js
diff --git a/extension/icon.png b/ext/icon.png
index 2ec925d0..2ec925d0 100644
--- a/extension/icon.png
+++ b/ext/icon.png
Binary files differ
diff --git a/extension/jp/dictionary.js b/ext/jp/dictionary.js
index 2b11d252..2b11d252 100644
--- a/extension/jp/dictionary.js
+++ b/ext/jp/dictionary.js
diff --git a/extension/jp/translator.js b/ext/jp/translator.js
index fabbc2b7..fabbc2b7 100644
--- a/extension/jp/translator.js
+++ b/ext/jp/translator.js
diff --git a/extension/lib/jquery-2.2.2.min.js b/ext/lib/jquery-2.2.2.min.js
index 3b7a7f23..3b7a7f23 100644
--- a/extension/lib/jquery-2.2.2.min.js
+++ b/ext/lib/jquery-2.2.2.min.js
diff --git a/extension/manifest.json b/ext/manifest.json
index 1cd15a9d..1cd15a9d 100644
--- a/extension/manifest.json
+++ b/ext/manifest.json