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