Permalink
Browse files

Generate plugin

  • Loading branch information...
0 parents commit 4c76fb4929bea72d09b3fd4f79c479379bb88412 @edavis10 committed Nov 18, 2011
Showing with 23 additions and 0 deletions.
  1. +3 −0 README.rdoc
  2. +3 −0 config/locales/en.yml
  3. +10 −0 init.rb
  4. +2 −0 lang/en.yml
  5. +5 −0 test/test_helper.rb
@@ -0,0 +1,3 @@
+= clocking
+
+Description goes here
@@ -0,0 +1,3 @@
+# English strings go here for Rails i18n
+en:
+ my_label: "My label"
10 init.rb
@@ -0,0 +1,10 @@
+require 'redmine'
+
+Redmine::Plugin.register :chiliproject_clocking do
+ name 'Chiliproject Clocking plugin'
+ author 'Author name'
+ description 'This is a plugin for ChiliProject'
+ version '0.0.1'
+ url 'http://example.com/path/to/plugin'
+ author_url 'http://example.com/about'
+end
@@ -0,0 +1,2 @@
+# English strings go here
+my_label: "My label"
@@ -0,0 +1,5 @@
+# Load the normal Rails helper
+require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper')
+
+# Ensure that we are using the temporary fixture path
+Engines::Testing.set_fixture_path

0 comments on commit 4c76fb4

Please sign in to comment.