Skip to content

Commit

Permalink
Merge pull request #21 from siebertlubbe/master
Browse files Browse the repository at this point in the history
A commit to resolve issue #13 and wrap thor tasks in dradis binary
  • Loading branch information
etdsoft committed Jun 11, 2011
2 parents 5171d3d + 9ea33be commit 19551cf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dradis
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby

require 'rubygems'
require 'thor'

require 'lib/tasks/thorfile'

DradisTasks.start
7 changes: 7 additions & 0 deletions lib/tasks/thorfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ def settings(namespace=nil)
end
end

desc "version", "displays the version of the dradis server"
def version
require 'config/environment'

puts Core::VERSION::string
end


class Import < Thor; end
class Export < Thor; end
Expand Down

0 comments on commit 19551cf

Please sign in to comment.