Project

General

Profile

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
	begin_target; check_fake_target_exists
14
	local order_by=(scientificName measurementType)
15
	pg_export_table_to_dir "$target_filename"
16
}
17

    
18
export_()
19
{
20
	begin_target
21
	with_rm taxon_trait/make
22
	with_rm "$exports_dir"/geoscrub_input.csv.run export_
23
}
24

    
25
fi
(10-10/11)