Mercurial Hosting > junotu
view package.gui_sh @ 58:9cef3d27f2e8
Improved search
Now collecting title, content and tags into an indexed (but not stored) 'search' field and searching that field by default. Now search query isn't doubled (before it searched title and content separately), but each card to document conversion might take double the memory because of title, content and tag concencation. Which shouldn't be a big deal, since cards usually don't contain a lot of text.
author | Fox |
---|---|
date | Fri, 23 Dec 2022 15:01:23 +0100 |
parents | 11bf54badc99 |
children | 0d4e996a5d99 |
line wrap: on
line source
#!/bin/sh #export _JAVA_AWT_WM_NONREPARENTING=1 export CLASSPATH=./src:./build:./lib/lucene-core-3.0.3.jar #JAVA=/usr/lib/jvm/java-8-openjdk-amd64/bin/java version=$(hg identify -i) mkdir -p ./build/packed/libraries javac -d ./build $(find ./src -name '*.java' | xargs) && cd build && jar cvefm junotu.Main ./packed/JUnotu.jar ../src/manifest $(find ./ -name *.class) cd .. cat > ./build/packed/readme.txt <<EOF To run the program, unpack it from the achive and either double click 'JUnotu.jar' or run 'java -jar JUnotu.jar' command in the terminal. EOF echo $version > ./build/packed/version scp -r ./lib/* ./build/packed/libraries rm -f ./build/packed/JUnotu.tar tar -cvhf ./build/packed/JUnotu.tar -C ./build/packed/ $(ls ./build/packed) echo Packed revision: $version