private-bam 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/bamify +10 -0
- data/lib/private-bam/version.rb +1 -1
- metadata +1 -1
data/bin/bamify
CHANGED
|
@@ -4,9 +4,19 @@ require 'thor'
|
|
|
4
4
|
class Bam < Thor
|
|
5
5
|
include Thor::Actions
|
|
6
6
|
|
|
7
|
+
def self.source_root
|
|
8
|
+
File.expand File.join(File.dirname(__FILE__), '../lib/templates/')
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
desc 'install', 'Generates the bam config file and rake task to execute.'
|
|
7
12
|
def install
|
|
13
|
+
directory 'lib/tasks/'
|
|
8
14
|
copy_file 'templates/bam.task', 'lib/tasks/bam.task'
|
|
15
|
+
|
|
16
|
+
directory 'bam/'
|
|
9
17
|
copy_file 'templates/projects.rb', 'bam/projects.rb'
|
|
18
|
+
|
|
19
|
+
say 'Your gem has been BAM!'
|
|
10
20
|
end
|
|
11
21
|
end
|
|
12
22
|
|
data/lib/private-bam/version.rb
CHANGED