1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-27 03:41:34 +02:00
fpm/spec
Jordan Sissel 40aa7cf5ca Move fpm version query behavior to run method.
A bug pointed out by #1162 showed that `fpm --version` would fail when
a .fpm file was loaded.

Moving the short `fpm --version` handling to the `run` method lets us do
this check before we load FPMOPTS env or .fpm files.

Updated the tests to only try calling with a lone `-v` or `--version`
flag to verify this works with and without a .fpm file.

Fixes #1162 and #1125. Original work by @drwl!
2016-09-11 23:48:39 -07:00
..
acceptance/puppet/manifests Start work for acceptance tests. 2016-05-23 11:28:51 -07:00
fixtures Support building a virtualenv from local requirements.txt 2016-06-18 13:37:24 -07:00
fpm Move fpm version query behavior to run method. 2016-09-11 23:48:39 -07:00
spec_setup.rb Ignore cabin subscriptions during testing 2014-07-24 19:24:28 +00:00