summaryrefslogtreecommitdiff
path: root/install_prepare.sh
blob: 2b3998575b6bbeffa5d875bfad48a23dbb671915 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -xeuo pipefail

abbrgen_execname="modules/abbrgen/abbreviation_gen_`uname`"
test -f "$abbrgen_execname" || \
	g++ -Wall -Wextra -std=c++11 -O3 -o "$abbrgen_execname" modules/abbrgen/abbreviation_gen.cpp

test -f modules/unicode/UnicodeData.txt || \
	curl -Ls 'https://www.unicode.org/Public/13.0.0/ucd/UnicodeData.txt' >modules/unicode/UnicodeData.txt