Revision 7122
Added by Aaron Marcuse-Kubitza almost 12 years ago
map | ||
---|---|---|
80 | 80 |
test = opts.env_flag('test', False, env_names) |
81 | 81 |
commit = opts.env_flag('commit', False, env_names) and not test |
82 | 82 |
# never commit in test mode |
83 |
redo = opts.env_flag('redo', test, env_names) and not commit
|
|
83 |
redo = opts.env_flag('redo', False, env_names) and not commit
|
|
84 | 84 |
# never redo in commit mode (run `make schemas/reinstall` instead) |
85 | 85 |
|
86 | 86 |
# Ranges |
Also available in: Unified diff
bin/map: Made $redo flag default to off, because redo mode is slow (all tables have to be truncated) and is only needed when running tests on a public schema with data in it, which would not be the case on a development machine where tests are usually run