Project

General

Profile

1 8291 aaronmk
#!/bin/bash -e
2 8774 aaronmk
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/table.run
3 8286 aaronmk
4 8705 aaronmk
if self_not_included; then
5
6 9391 aaronmk
table.tsv.md5/make()
7
{
8
	echo_func; set_make_vars; check_target_exists
9 9709 aaronmk
	silent=1 table_make "$target_filename"${_remake:+-remake}
10 9391 aaronmk
}
11
12 9348 aaronmk
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make
13 8286 aaronmk
{
14 8990 aaronmk
	echo_func; set_make_vars; check_target_exists
15 9699 aaronmk
	(set_large_table; to_target mysql_export_local) || return
16 9675 aaronmk
	remake=1 "$target_filename".md5/make
17 8286 aaronmk
}
18
19 9074 aaronmk
export_mysql()
20 8961 aaronmk
{
21
	echo_func
22
	table.tsv/make
23
}
24
25 9039 aaronmk
func_override import__table_run
26 9074 aaronmk
import()
27 8286 aaronmk
{
28 8881 aaronmk
	echo_func
29 8950 aaronmk
	export_mysql
30 9681 aaronmk
	self_make import__table_run "$@"
31 8286 aaronmk
}
32 8705 aaronmk
33
fi