Skip to content
Browse files

Readd config file in run plugin script

  • Loading branch information...
1 parent 80cea36 commit adfa7a3f02b3008bcf9bef6f86a707abc5b4e507 Maria Shaldibina and Tim Labeeuw committed
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/run_plugin
View
7 bin/run_plugin
@@ -6,4 +6,9 @@ $:.unshift(File.expand_path("../../lib", __FILE__))
require "vcap/staging/plugin/staging_plugin"
require "vcap/staging/plugin/buildpack/plugin"
-BuildpackPlugin.stage_application
+unless ARGV.length == 1
+ puts "Usage: run_plugin [plugin config file]"
+ exit 1
+end
+
+BuildpackPlugin.from_file(ARGV[0]).stage_application

0 comments on commit adfa7a3

Please sign in to comment.
Something went wrong with that request. Please try again.