Permalink
Browse files

:compile is a :spec dep, standardize proxy require

  • Loading branch information...
1 parent 14c36ba commit e8f122178d1a78e5c98916e64fb75017eb13e4bf @jorgenpt jorgenpt committed Jan 27, 2012
Showing with 6 additions and 2 deletions.
  1. +2 −1 Rakefile
  2. +4 −0 lib/jenkins/plugin/proxies.rb
  3. +0 −1 lib/jenkins/plugin/runtime.rb
View
3 Rakefile
@@ -3,6 +3,7 @@ Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
+task :spec => :compile
require 'jenkins/war'
Jenkins::War.classpath
@@ -18,4 +19,4 @@ require 'rake/clean'
directory "target"
CLEAN.include("target")
-task :default => [:compile, :spec]
+task :default => [:compile, :spec]
View
4 lib/jenkins/plugin/proxies.rb
@@ -175,3 +175,7 @@ def self.clear
["action", "build_wrapper", "builder", "publisher", "root_action"].each do |proxy|
require "jenkins/plugin/proxies/#{proxy}"
end
+
+["cli/command"].each do |proxy|
+ require "jenkins/#{proxy}_proxy"
+end
View
1 lib/jenkins/plugin/runtime.rb
@@ -7,7 +7,6 @@
require 'jenkins/plugin/proxies/describable'
require 'jenkins/plugin/proxies'
require 'jenkins/cli/command'
-require 'jenkins/cli/command_proxy'
require 'jenkins/model'
require 'jenkins/model/action'
require 'jenkins/model/root_action'

0 comments on commit e8f1221

Please sign in to comment.