*{.sh,run}: runscript targets: use begin_target instead of echo_func so the target name is properly echoed. note that this requires using with_rm so that $rm is properly progagated to applicable invoked targets. (previously, $rm was progagated to all invoked targets. note that with_rm only works inside a runscript target that starts with begin_target.)
*{.sh,run}: use new begin_target instead of `echo_func; set_make_vars`
moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).
/run: use new exports/geoscrub_input.csv.run
/run geoscrub_input/make(): include a header on the CSV file, so that the column names don't risk getting spliced from the data (and to shorten the CSV filename, which had to contain the column names instead). this requires changing the geoscrubbing scripts to accept a CSV header.
/run: geoscrub_input/make(): updated runtime (20 s)
/run: taxon_trait/make(): order by scientificName, measurementType as described in the taxon_trait table comment
/run: added taxon_trait/make()
/run: geoscrub_input/make(): documented runtime (40 s)
*{.sh,run}: use simpler .rel() instead of `. "$(dirname "${BASH_SOURCE0}")"/...` for relative includes
*{.sh,run}: removed extra space between function name and (), which is apparently not needed even though `help function` includes it. this greatly improves readability, including when function names are pasted into commit messages!
/run: geoscrub_input/make (): use new check_fake_target_exists to create the file only if it doesn't exist yet
/run: moved geoscrub_input export into separate geoscrub_input/make () target
moved lib/*.sh to sh/ subdir so it's easier to find the .sh files among all the other lib/ files
renamed lib/runscripts/local.run to lib/local.sh since the things it defines are not just for runscripts
*{.sh,run}: changed echo_func to an alias that includes the "$", so that callers don't need to specify the "$" manually. although the original echo_func function is still there, callers need to switch over to the alias at the same time as it's defined because otherwise the "$@" would be doubled, since echo_func refers to the alias instead.
", so that callers don't need to specify the "$
/run: export_ (): pass "$@" to invoked functions since it may contain psql connection or config info
/run: make config vars such as $schema overridable by the environment, to allow pointing the export script at a different public schema version
added /run, whose export_ command exports DB tables (currently the geoscrub_input table) to CSV. column information is included in the filename when the export format is specified not to contain a header row.