Mercurial Hosting > junotu
annotate 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 |
rev | line source |
---|---|
22 | 1 #!/bin/sh |
2 | |
3 #export _JAVA_AWT_WM_NONREPARENTING=1 | |
4 export CLASSPATH=./src:./build:./lib/lucene-core-3.0.3.jar | |
5 #JAVA=/usr/lib/jvm/java-8-openjdk-amd64/bin/java | |
6 | |
25
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
7 version=$(hg identify -i) |
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
8 |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
9 mkdir -p ./build/packed/libraries |
22 | 10 |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
11 javac -d ./build $(find ./src -name '*.java' | xargs) && cd build && jar cvefm junotu.Main ./packed/JUnotu.jar ../src/manifest $(find ./ -name *.class) |
22 | 12 cd .. |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
13 cat > ./build/packed/readme.txt <<EOF |
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
14 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. |
25
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
15 EOF |
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
16 echo $version > ./build/packed/version |
36
11bf54badc99
Figured out JAR MANIFEST, removed operating system-specific run scripts
Fox
parents:
27
diff
changeset
|
17 scp -r ./lib/* ./build/packed/libraries |
23 | 18 rm -f ./build/packed/JUnotu.tar |
25
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
19 tar -cvhf ./build/packed/JUnotu.tar -C ./build/packed/ $(ls ./build/packed) |
64151d1c78b6
Package: Fix packing symlinks into TAR, add Windows run script
Fox
parents:
23
diff
changeset
|
20 echo Packed revision: $version |