File: Rakefile.erb

package info (click to toggle)
ruby-hoe 3.22.1%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 500 kB
  • sloc: ruby: 2,379; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- ruby -*-

require "rubygems"
require "hoe"

<%=
  found = Gem.find_files("hoe/*.rb").map { |f| File.basename(f, ".rb").to_sym }
  extra = found - Hoe.plugins - [:rake]
  extra.map { |name| "# Hoe.plugin #{name.inspect}" }.sort.uniq.join("\n")
%>

Hoe.spec "<%= project %>" do
  # HEY! If you fill these out in ~/.hoe_template/default/Rakefile.erb then
  # you'll never have to touch them again!
  # (delete this comment too, of course)

  # developer("<%= XIF %>", "<%= XIF %>@example.com")

  # license "MIT" # this should match the license in the README
end

# vim: syntax=ruby