Project

General

Profile

« Previous | Next » 

Revision 10274

lib/runscripts/table.run: import(): moved postprocessing commands to separate postprocess() function that can be invoked on an already-imported staging table to avoid running the load_data() target. this is especially useful when running the postprocessing on a working copy without the unversioned data files, for datasources whose load_data() target would otherwise try to download the files because they don't already exist.

View differences:

lib/runscripts/table.run
92 92
	table_make_install ${_remake:+re}install # just the table
93 93
}
94 94

  
95
import()
95
postprocess()
96 96
{
97 97
	echo_func; set_make_vars
98
	kw_params can_test; local can_test="${can_test-1}"
99
	self_make load_data
100 98
	map_table
101 99
	custom_postprocess
102 100
	mk_derived
103 101
	if test "$can_test"; then remake_VegBIEN_mappings; fi
104 102
}
105 103

  
104
import()
105
{
106
	echo_func; set_make_vars
107
	kw_params can_test; local can_test="${can_test-1}"
108
	self_make load_data
109
	postprocess
110
}
111

  
106 112
fi

Also available in: Unified diff