1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-31 04:20:42 +02:00
fpm/spec/fpm
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
..
package gem: make it posssible to set the shebang 2016-07-22 09:02:39 +02:00
command_spec.rb Move fpm version query behavior to run method. 2016-09-11 23:48:39 -07:00
package_convert_spec.rb Add test coverage for #585 2013-12-05 22:47:55 -08:00
package_spec.rb fix --workdir not having an effect on the build and staging dirs, fixes #1124 2016-06-22 01:50:44 +02:00
rake_task_spec.rb Refactor for Ruby 1.8.7 and add spec 2015-05-16 15:32:38 -04:00
util_spec.rb Strip trailing whitespace 2015-04-13 22:32:31 -07:00