Revision 11979
Added by Aaron Marcuse-Kubitza about 11 years ago
trunk/inputs/SALVIAS/run_ | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
# **WARNING**: this datasource is not yet new-style, so most runscript commands |
|
3 |
# won't work |
|
4 |
# **IMPORTANT**: rename this file to `run` after switching to new-style import |
|
5 |
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/datasrc_dir.run |
|
6 |
|
|
7 |
if self_not_included; then |
|
8 |
|
|
9 |
refresh() # usage: .../run refresh |
|
10 |
{ |
|
11 |
echo_func; set_make_vars |
|
12 |
unexport data schema # these have special meaning to the invoked commands |
|
13 |
local remake=1 # run all commands below in this mode |
|
14 |
datasrc_make _MySQL/salvias_plots.{schema,data}.sql |
|
15 |
# runtime: 25 s ("0m25.331s") |
|
16 |
datasrc_make salvias_plots.{schema,data}.sql # runtime: 30 s ("0m30.974s") |
|
17 |
remake= datasrc_make reinstall # runtime: _ min ("_") |
|
18 |
#**IMPORTANT**: change this to `import` after switch to new-style import |
|
19 |
} |
|
20 |
|
|
21 |
fi |
|
0 | 22 |
Also available in: Unified diff
added inputs/SALVIAS/run_, which includes a refresh() target