1
|
#!/bin/bash -e
|
2
|
. "$(dirname "${BASH_SOURCE[0]}")"/lib/runscripts/import.run
|
3
|
.rel lib/sh/local.sh
|
4
|
.rel lib/sh/make.sh
|
5
|
|
6
|
if self_not_included; then
|
7
|
|
8
|
: "${schema:=public}"
|
9
|
: "${exports_dir:="$top_dir"/exports}"
|
10
|
|
11
|
taxon_trait/make() # runtime: ~0 ("real 0m0.411s") @ r10826
|
12
|
{
|
13
|
echo_func; set_make_vars; check_fake_target_exists
|
14
|
local order_by=(scientificName measurementType)
|
15
|
pg_export_table_to_dir "$target_filename"
|
16
|
}
|
17
|
|
18
|
geoscrub_input/make() # runtime: 40 s ("real 0m41.592s") @ r9897
|
19
|
{
|
20
|
echo_func; set_make_vars; check_fake_target_exists
|
21
|
pg_export_table_to_dir_no_header "$target_filename"
|
22
|
}
|
23
|
|
24
|
export_()
|
25
|
{
|
26
|
echo_func
|
27
|
taxon_trait/make
|
28
|
geoscrub_input/make
|
29
|
}
|
30
|
|
31
|
fi
|