[gnome-characters/wip/exalm/unistring: 15/15] lib: Move scripts to a subdirectory and add gitignore




commit 9a9b5d447723aac3ed9f695c3b8144e6bb16450a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Nov 26 13:51:12 2021 +0500

    lib: Move scripts to a subdirectory and add gitignore

 lib/tools/.gitignore               |  8 ++++++++
 lib/{ => tools}/gen-blocks.py      |  0
 lib/{ => tools}/gen-confusables.py |  0
 lib/{ => tools}/gen-emoji.py       |  0
 lib/{ => tools}/gen-hangul.py      |  0
 lib/{ => tools}/gen-names.py       |  0
 lib/{ => tools}/gen-scripts.py     |  0
 lib/{ => tools}/regenerate.sh      | 12 ++++++------
 8 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/lib/tools/.gitignore b/lib/tools/.gitignore
new file mode 100644
index 0000000..cd64b51
--- /dev/null
+++ b/lib/tools/.gitignore
@@ -0,0 +1,8 @@
+Blocks.txt
+confusables.txt
+core.zip
+emoji-test.txt
+Jamo.txt
+PropertyValueAliases.txt
+supplementalData.xml
+UnicodeData.txt
diff --git a/lib/gen-blocks.py b/lib/tools/gen-blocks.py
similarity index 100%
rename from lib/gen-blocks.py
rename to lib/tools/gen-blocks.py
diff --git a/lib/gen-confusables.py b/lib/tools/gen-confusables.py
similarity index 100%
rename from lib/gen-confusables.py
rename to lib/tools/gen-confusables.py
diff --git a/lib/gen-emoji.py b/lib/tools/gen-emoji.py
similarity index 100%
rename from lib/gen-emoji.py
rename to lib/tools/gen-emoji.py
diff --git a/lib/gen-hangul.py b/lib/tools/gen-hangul.py
similarity index 100%
rename from lib/gen-hangul.py
rename to lib/tools/gen-hangul.py
diff --git a/lib/gen-names.py b/lib/tools/gen-names.py
similarity index 100%
rename from lib/gen-names.py
rename to lib/tools/gen-names.py
diff --git a/lib/gen-scripts.py b/lib/tools/gen-scripts.py
similarity index 100%
rename from lib/gen-scripts.py
rename to lib/tools/gen-scripts.py
diff --git a/lib/regenerate.sh b/lib/tools/regenerate.sh
similarity index 75%
rename from lib/regenerate.sh
rename to lib/tools/regenerate.sh
index 72cc3c5..7433e7d 100755
--- a/lib/regenerate.sh
+++ b/lib/tools/regenerate.sh
@@ -14,9 +14,9 @@ wget -c "https://www.unicode.org/Public/security/$UCD_VERSION/confusables.txt";
 
 unzip -jo core.zip common/supplemental/supplementalData.xml
 
-./gen-blocks.py Blocks.txt > blocks.h
-./gen-confusables.py confusables.txt > confusables.h
-./gen-emoji.py emoji-test.txt > emoji.h
-./gen-hangul.py Jamo.txt > hangul.h
-./gen-names.py UnicodeData.txt > names.h
-./gen-scripts.py supplementalData.xml PropertyValueAliases.txt > scripts.h
+./gen-blocks.py Blocks.txt > ../blocks.h
+./gen-confusables.py confusables.txt > ../confusables.h
+./gen-emoji.py emoji-test.txt > ../emoji.h
+./gen-hangul.py Jamo.txt > ../hangul.h
+./gen-names.py UnicodeData.txt > ../names.h
+./gen-scripts.py supplementalData.xml PropertyValueAliases.txt > ../scripts.h


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]