Methods
-
<inner> buildDirectory( db, agencyOptions, directory, callback )
-
Description
Run all of the build table scripts in the specified directory. This will find all .js files that export a
buildTable
function and run the scripts in alphabetical order of the scripts' filenames.Parameters
Name Type Description db
Object The SQLite database being built
agencyOptions
AgencyOptions The Agency Build Options
directory
string The path to the directory containing the build scripts
callback
function Callback function() called when all build scripts have finished
Details