Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Readd config file in run plugin script
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Shaldibina and Tim Labeeuw committed Feb 20, 2013
1 parent 80cea36 commit adfa7a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/run_plugin
Expand Up @@ -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.