set `spec_mode` and `distribution_mode` without `setup`
Merge pull request #84 from clayallsopp/spec_without_setup

Set `spec_mode` before `setup`