From 23327d7e357c358654ac302966819808d2bb2215 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 20 Mar 2016 11:09:24 -0700 Subject: [PATCH] More reorg --- .gitattributes | 2 +- build_dict.sh | 9 +++++++++ {extension => ext}/background.html | 0 {extension => ext}/content.js | 0 {extension => ext}/icon.png | Bin {extension => ext}/jp/dictionary.js | 0 {extension => ext}/jp/translator.js | 0 {extension => ext}/lib/jquery-2.2.2.min.js | 0 {extension => ext}/manifest.json | 0 9 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 build_dict.sh rename {extension => ext}/background.html (100%) rename {extension => ext}/content.js (100%) rename {extension => ext}/icon.png (100%) rename {extension => ext}/jp/dictionary.js (100%) rename {extension => ext}/jp/translator.js (100%) rename {extension => ext}/lib/jquery-2.2.2.min.js (100%) rename {extension => ext}/manifest.json (100%) 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 similarity index 100% rename from extension/background.html rename to ext/background.html diff --git a/extension/content.js b/ext/content.js similarity index 100% rename from extension/content.js rename to ext/content.js diff --git a/extension/icon.png b/ext/icon.png similarity index 100% rename from extension/icon.png rename to ext/icon.png diff --git a/extension/jp/dictionary.js b/ext/jp/dictionary.js similarity index 100% rename from extension/jp/dictionary.js rename to ext/jp/dictionary.js diff --git a/extension/jp/translator.js b/ext/jp/translator.js similarity index 100% rename from extension/jp/translator.js rename to ext/jp/translator.js diff --git a/extension/lib/jquery-2.2.2.min.js b/ext/lib/jquery-2.2.2.min.js similarity index 100% rename from extension/lib/jquery-2.2.2.min.js rename to ext/lib/jquery-2.2.2.min.js diff --git a/extension/manifest.json b/ext/manifest.json similarity index 100% rename from extension/manifest.json rename to ext/manifest.json