Mercurial Hosting > editor
changeset 82:43e07db3736b default tip
back to bash
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 23 Jun 2025 04:13:52 -0600 |
parents | a873ccf6d4cd |
children | |
files | .hgignore build.sh classpath.sh dev.sh website/serve.sh |
diffstat | 5 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
diff -r a873ccf6d4cd -r 43e07db3736b .hgignore --- 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
diff -r a873ccf6d4cd -r 43e07db3736b build.sh --- 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
diff -r a873ccf6d4cd -r 43e07db3736b classpath.sh --- 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
diff -r a873ccf6d4cd -r 43e07db3736b dev.sh --- 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