Working monorepo for NDCODE project with installer
authorNick Downing <nick.downing@lifx.co>
Mon, 3 Feb 2020 16:03:05 +0000 (03:03 +1100)
committerNick Downing <nick.downing@lifx.co>
Mon, 3 Feb 2020 16:07:12 +0000 (03:07 +1100)
31 files changed:
.gitmodules [new file with mode: 0644]
bootstrap_bison [new submodule]
bootstrap_flex [new submodule]
build_cache [new submodule]
c_to_python [new submodule]
clean-css [new submodule]
disk_build [new submodule]
emailjs_cache [new submodule]
html-minifier [new submodule]
install.sh [new file with mode: 0755]
json_cache [new submodule]
json_cache_rw [new submodule]
jst [new submodule]
jst_cache [new submodule]
jst_server [new submodule]
jstize [new submodule]
less_css_cache [new submodule]
min_css_cache [new submodule]
min_html_cache [new submodule]
min_js_cache [new submodule]
min_svg_cache [new submodule]
ndcode_site [new submodule]
node_zettair [new submodule]
pibook [new submodule]
pilex [new submodule]
pitree [new submodule]
piyacc [new submodule]
text_cache [new submodule]
zettair [new submodule]
zettair_cache [new submodule]
zip_cache [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..9da23ef
--- /dev/null
@@ -0,0 +1,87 @@
+[submodule "pilex"]
+       path = pilex
+       url = https://git.ndcode.org/public/pilex.git
+[submodule "piyacc"]
+       path = piyacc
+       url = https://git.ndcode.org/public/piyacc.git
+[submodule "pitree"]
+       path = pitree
+       url = https://git.ndcode.org/public/pitree.git
+[submodule "c_to_python"]
+       path = c_to_python
+       url = https://git.ndcode.org/public/c_to_python.git
+[submodule "pibook"]
+       path = pibook
+       url = https://git.ndcode.org/public/pibook.git
+[submodule "bootstrap_bison"]
+       path = bootstrap_bison
+       url = https://git.ndcode.org/public/bootstrap_bison.git
+[submodule "bootstrap_flex"]
+       path = bootstrap_flex
+       url = https://git.ndcode.org/public/bootstrap_flex.git
+[submodule "build_cache"]
+       path = build_cache
+       url = https://git.ndcode.org/public/build_cache.git
+[submodule "clean-css"]
+       path = clean-css
+       url = https://git.ndcode.org/public/clean-css.git
+[submodule "disk_build"]
+       path = disk_build
+       url = https://git.ndcode.org/public/disk_build.git
+[submodule "emailjs_cache"]
+       path = emailjs_cache
+       url = https://git.ndcode.org/public/emailjs_cache.git
+[submodule "html-minifier"]
+       path = html-minifier
+       url = https://git.ndcode.org/public/html-minifier.git
+[submodule "json_cache"]
+       path = json_cache
+       url = https://git.ndcode.org/public/json_cache.git
+[submodule "json_cache_rw"]
+       path = json_cache_rw
+       url = https://git.ndcode.org/public/json_cache_rw.git
+[submodule "jst"]
+       path = jst
+       url = https://git.ndcode.org/public/jst.git
+[submodule "jst_cache"]
+       path = jst_cache
+       url = https://git.ndcode.org/public/jst_cache.git
+[submodule "jst_server"]
+       path = jst_server
+       url = https://git.ndcode.org/public/jst_server.git
+[submodule "jstize"]
+       path = jstize
+       url = https://git.ndcode.org/public/jstize.git
+[submodule "less_css_cache"]
+       path = less_css_cache
+       url = https://git.ndcode.org/public/less_css_cache.git
+[submodule "min_css_cache"]
+       path = min_css_cache
+       url = https://git.ndcode.org/public/min_css_cache.git
+[submodule "min_html_cache"]
+       path = min_html_cache
+       url = https://git.ndcode.org/public/min_html_cache.git
+[submodule "min_js_cache"]
+       path = min_js_cache
+       url = https://git.ndcode.org/public/min_js_cache.git
+[submodule "min_svg_cache"]
+       path = min_svg_cache
+       url = https://git.ndcode.org/public/min_svg_cache.git
+[submodule "node_zettair"]
+       path = node_zettair
+       url = https://git.ndcode.org/public/node_zettair.git
+[submodule "text_cache"]
+       path = text_cache
+       url = https://git.ndcode.org/public/text_cache.git
+[submodule "zettair"]
+       path = zettair
+       url = https://git.ndcode.org/public/zettair.git
+[submodule "zettair_cache"]
+       path = zettair_cache
+       url = https://git.ndcode.org/public/zettair_cache.git
+[submodule "zip_cache"]
+       path = zip_cache
+       url = https://git.ndcode.org/public/zip_cache.git
+[submodule "ndcode_site"]
+       path = ndcode_site
+       url = https://git.ndcode.org/public/ndcode_site.git
diff --git a/bootstrap_bison b/bootstrap_bison
new file mode 160000 (submodule)
index 0000000..8c0392f
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 8c0392fef48b068bff2281b6665a90ba2c8edbd3
diff --git a/bootstrap_flex b/bootstrap_flex
new file mode 160000 (submodule)
index 0000000..f53ca4f
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit f53ca4f1c0ea08b8adea5422ff619d9e25679db5
diff --git a/build_cache b/build_cache
new file mode 160000 (submodule)
index 0000000..07d5d77
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 07d5d772add8746c4e7361c22bb9362fa8babcf8
diff --git a/c_to_python b/c_to_python
new file mode 160000 (submodule)
index 0000000..76057cb
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 76057cb83de999eb62b7644a8d16282a3d4253bc
diff --git a/clean-css b/clean-css
new file mode 160000 (submodule)
index 0000000..16376eb
--- /dev/null
+++ b/clean-css
@@ -0,0 +1 @@
+Subproject commit 16376eb43ca83f3456594f6f41837de5f778448d
diff --git a/disk_build b/disk_build
new file mode 160000 (submodule)
index 0000000..b1e2b6a
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit b1e2b6a41c5904dca0e6febf789c8f8dafb56783
diff --git a/emailjs_cache b/emailjs_cache
new file mode 160000 (submodule)
index 0000000..944a2b0
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 944a2b0d9191f56059dda0169640082749767774
diff --git a/html-minifier b/html-minifier
new file mode 160000 (submodule)
index 0000000..bf1a860
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit bf1a86055852b1affd14c3c263743640f966acc7
diff --git a/install.sh b/install.sh
new file mode 100755 (executable)
index 0000000..ed0e7e9
--- /dev/null
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+#apt install build-essential recode zlib1g-dev
+(cd zettair && ./configure --prefix=$HOME && make -j5 install)
+
+for i in \
+"build_cache" \
+"clean-css" \
+"disk_build" \
+"emailjs_cache build_cache" \
+"html-minifier clean-css" \
+"json_cache build_cache" \
+"json_cache_rw" \
+"jst build_cache clean-css disk_build" \
+"jst_cache build_cache disk_build jst" \
+"jstize clean-css html-minifier" \
+"less_css_cache build_cache disk_build" \
+"min_css_cache build_cache clean-css disk_build" \
+"min_html_cache build_cache disk_build html-minifier" \
+"min_js_cache build_cache disk_build" \
+"min_svg_cache build_cache disk_build" \
+"node_zettair" \
+"text_cache build_cache" \
+"zettair_cache build_cache node_zettair" \
+"ndcode_site emailjs_cache zettair_cache" \
+"zip_cache build_cache" \
+"jst_server json_cache json_cache_rw jst_cache less_css_cache min_css_cache min_html_cache min_js_cache min_svg_cache text_cache zip_cache"
+do
+  set $i
+  module=$1
+  shift
+  (
+    cd $module
+    rm -rf node_modules
+    for j in $@
+    do
+      pnpm link ../$j
+    done
+    pnpm install
+  )
+done
+
+#pip3 install --user numpy
+
+for i in \
+pilex \
+pitree \
+piyacc
+do
+  (
+    cd $i
+    ./setup.py install --user
+  )
+done
diff --git a/json_cache b/json_cache
new file mode 160000 (submodule)
index 0000000..8724dde
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 8724dde12ce0790dd56e147bb41efbf6fa67178c
diff --git a/json_cache_rw b/json_cache_rw
new file mode 160000 (submodule)
index 0000000..ffef9a8
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit ffef9a802de4371d67d58a49a6d9432778ce444c
diff --git a/jst b/jst
new file mode 160000 (submodule)
index 0000000..cdb464e
--- /dev/null
+++ b/jst
@@ -0,0 +1 @@
+Subproject commit cdb464e31efcbdb0c60b11045331e721db2ffa39
diff --git a/jst_cache b/jst_cache
new file mode 160000 (submodule)
index 0000000..1405524
--- /dev/null
+++ b/jst_cache
@@ -0,0 +1 @@
+Subproject commit 140552441cc48fb1119c2aabd3db7471a6b54803
diff --git a/jst_server b/jst_server
new file mode 160000 (submodule)
index 0000000..9953aa9
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 9953aa99e1173c07c1d1d82deff53a43f984873e
diff --git a/jstize b/jstize
new file mode 160000 (submodule)
index 0000000..5a33d55
--- /dev/null
+++ b/jstize
@@ -0,0 +1 @@
+Subproject commit 5a33d551de48cdb152f0731bcc30b6b7d1f6e3c2
diff --git a/less_css_cache b/less_css_cache
new file mode 160000 (submodule)
index 0000000..afee7bd
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit afee7bdb595094dcba2daeca8bce1f4394ca9192
diff --git a/min_css_cache b/min_css_cache
new file mode 160000 (submodule)
index 0000000..f43f49d
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit f43f49d3750650cf75d611940c3c5437681328c6
diff --git a/min_html_cache b/min_html_cache
new file mode 160000 (submodule)
index 0000000..ee73c57
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit ee73c57006c1aecdf65fbbf65a362b6226e5775c
diff --git a/min_js_cache b/min_js_cache
new file mode 160000 (submodule)
index 0000000..b47e88f
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit b47e88f0f1790a31155620419d9f9c9bbbf09f17
diff --git a/min_svg_cache b/min_svg_cache
new file mode 160000 (submodule)
index 0000000..60202af
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 60202af340bd3877f95edfe34c50b35a3b99681b
diff --git a/ndcode_site b/ndcode_site
new file mode 160000 (submodule)
index 0000000..52953dc
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 52953dc4e2c0ca2ed8965df30c18c13d878febbb
diff --git a/node_zettair b/node_zettair
new file mode 160000 (submodule)
index 0000000..61c28ec
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 61c28eced50ec0f8e448339e0c774a4ec9a58c4e
diff --git a/pibook b/pibook
new file mode 160000 (submodule)
index 0000000..9ac0c83
--- /dev/null
+++ b/pibook
@@ -0,0 +1 @@
+Subproject commit 9ac0c83bdea436769ea41b6dba6f8e724ba6de0e
diff --git a/pilex b/pilex
new file mode 160000 (submodule)
index 0000000..296b1f0
--- /dev/null
+++ b/pilex
@@ -0,0 +1 @@
+Subproject commit 296b1f02af7e1364c0e1337db44d7bd9e5cf1a2a
diff --git a/pitree b/pitree
new file mode 160000 (submodule)
index 0000000..39f2c49
--- /dev/null
+++ b/pitree
@@ -0,0 +1 @@
+Subproject commit 39f2c4975ab27632df59b32559871a2b84c69804
diff --git a/piyacc b/piyacc
new file mode 160000 (submodule)
index 0000000..2e5c652
--- /dev/null
+++ b/piyacc
@@ -0,0 +1 @@
+Subproject commit 2e5c652378db809222b31f9e1fa2452dcd885ba8
diff --git a/text_cache b/text_cache
new file mode 160000 (submodule)
index 0000000..b5242cf
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit b5242cf504f01120df29d978d63d940bbc854c7a
diff --git a/zettair b/zettair
new file mode 160000 (submodule)
index 0000000..cfe9a7c
--- /dev/null
+++ b/zettair
@@ -0,0 +1 @@
+Subproject commit cfe9a7ca2618702a656c594b14bc0f95a29edfbc
diff --git a/zettair_cache b/zettair_cache
new file mode 160000 (submodule)
index 0000000..cc1e815
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit cc1e81535833aff66105fb81f17a1914fb826206
diff --git a/zip_cache b/zip_cache
new file mode 160000 (submodule)
index 0000000..8453fbe
--- /dev/null
+++ b/zip_cache
@@ -0,0 +1 @@
+Subproject commit 8453fbec95b4ded5e0a1ded6afa6a0fb334e7c23