changeset 82:43e07db3736b

back to bash
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 23 Jun 2025 04:13:52 -0600
parents a873ccf6d4cd
children b9be4afaf597
files .hgignore build.sh classpath.sh dev.sh website/serve.sh
diffstat 5 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Mon Jun 23 03:45:13 2025 -0600
+++ b/.hgignore	Mon Jun 23 04:13:52 2025 -0600
@@ -6,4 +6,5 @@
 build/
 *.class
 download/
+push.sh
 push.elv
--- a/build.sh	Mon Jun 23 03:45:13 2025 -0600
+++ b/build.sh	Mon Jun 23 04:13:52 2025 -0600
@@ -14,8 +14,8 @@
 
 . classpath.sh
 cd src
-javac -classpath $CLASSPATH `find . -name *.java`
-jar cvf ../build/luan_editor/jars/luan_editor.jar `find . -name *.class -o -name *.luan`
+javac -classpath $CLASSPATH $(find . -name *.java)
+jar cvf ../build/luan_editor/jars/luan_editor.jar $(find . -name *.class -o -name *.luan)
 cd ..
 
 cp -r dictionaries build/luan_editor
--- a/classpath.sh	Mon Jun 23 03:45:13 2025 -0600
+++ b/classpath.sh	Mon Jun 23 04:13:52 2025 -0600
@@ -1,4 +1,4 @@
-. luan string:
+source luan string:
 
 EDITOR_HOME=`pwd`
 CLASSPATH=$CLASSPATH:$EDITOR_HOME/lib/jortho.jar:$EDITOR_HOME/src
--- a/dev.sh	Mon Jun 23 03:45:13 2025 -0600
+++ b/dev.sh	Mon Jun 23 04:13:52 2025 -0600
@@ -1,15 +1,14 @@
 #!/bin/bash
 # for development
 
-EDITOR_HOME=`dirname $0`
+EDITOR_HOME=$(dirname $0)
 
 DICTIONARIES="$EDITOR_HOME/dictionaries/"
 
-. luan string:
 CLASSPATH=$CLASSPATH:$EDITOR_HOME/lib/jortho.jar:$EDITOR_HOME/src
 
 mkdir -p ~/.luan_editor
 
 set +m
 
-java -Dport=56588 -Ddictionaries="$DICTIONARIES" -Xdock:name="Luan Editor dev" -classpath $CLASSPATH luan.Luan classpath:luan_editor/editor.luan "$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' | tee err 
+java -Dport=56588 -Ddictionaries="$DICTIONARIES" -Xdock:name="Luan Editor dev" luan.Luan classpath:luan_editor/editor.luan "$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' | tee err 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/website/serve.sh	Mon Jun 23 04:13:52 2025 -0600
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+luan luan:http/serve.luan src 2>&1 | tee err