summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-04-09 11:24:01 -0400
committerAndrew Opalach <andrew@akon.city> 2024-04-09 11:24:01 -0400
commit02f3d3565602146bbbfce85b2719246f24036cb9 (patch)
treec6588ffe297b777e36260effa4fa42b958ca6ba3 /scripts
parentbbf3314165182e402ff25acccddc004a87f81ef0 (diff)
downloadcamu-02f3d3565602146bbbfce85b2719246f24036cb9.tar.gz
camu-02f3d3565602146bbbfce85b2719246f24036cb9.tar.bz2
camu-02f3d3565602146bbbfce85b2719246f24036cb9.zip
Massive restructure and many changes
- The server-side list concept is still a wip Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/line_count.sh8
-rwxr-xr-xscripts/run_server.sh4
-rwxr-xr-xscripts/run_tree.sh4
3 files changed, 11 insertions, 5 deletions
diff --git a/scripts/line_count.sh b/scripts/line_count.sh
index 2ecb7f5..19844b9 100755
--- a/scripts/line_count.sh
+++ b/scripts/line_count.sh
@@ -1,2 +1,8 @@
#! /usr/bin/env sh
-find ./src -type f | xargs wc -l
+find ./src -type f \
+ -not -path "./src/portal/vendor/*" \
+ -not -path "./src/portal/patches/*" \
+ -not -path "./src/portal/cpy/portal.c" \
+ -not -path "./src/portal/cpy/portal.h" \
+ -not -path "*__pycache__*" \
+ | xargs wc -l
diff --git a/scripts/run_server.sh b/scripts/run_server.sh
new file mode 100755
index 0000000..1c2cbbf
--- /dev/null
+++ b/scripts/run_server.sh
@@ -0,0 +1,4 @@
+#! /usr/bin/env sh
+export PYTHONDONTWRITEBYTECODE=1
+export PYTHONPATH=$HOME/c/camu/src/portal/vendor/vendor
+rm -f /tmp/camu_sock && gdb -ex run --args ./src/server/server $@
diff --git a/scripts/run_tree.sh b/scripts/run_tree.sh
deleted file mode 100755
index 274ec5c..0000000
--- a/scripts/run_tree.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /usr/bin/env sh
-export PYTHONDONTWRITEBYTECODE=1
-export PYTHONPATH=$HOME/c/shoki/vendor/vendor
-rm -f /tmp/tree_sock && gdb -ex run --args ./src/tree/tree $@