x
remove base64; add sorted format; extended context length in submodule; fixed file extension and folder name
1bdccf7
default: github.com/xfce-mirror/xfce4-terminal.rwkv.jsonl github.com/xfce-mirror/xfce4-terminal.rwkv.sorted.jsonl | |
extra: default | |
%.rwkv.jsonl: %.git/ | |
#{ git2jsonl/git2jsonl "$^"; git2jsonl/git2jsonl_base64 "$^"; } | sort --random-sort --random-source=/dev/zero > "$@" || { rm "$@"; false; } | |
git2jsonl/git2jsonl "$^" | shuf --random-source=/dev/zero > "$@" || { rm "$@"; false; } | |
rm -rf "$<" | |
%.sorted.jsonl: %.jsonl | |
cat "$<" | awk '{ print length, $$0 }' | sort -n -s | cut -d' ' -f2- > "$@" | |
%.git/: | |
mkdir -p "$$(dirname "$*")" | |
git clone --mirror https://"$*" "$@" | |