OSDN Git Service
(root)
/
metasearch
/
grid-chef-repo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b942039
)
bug fix.
author
whitestar
<whitestar@users.osdn.me>
Sun, 16 Sep 2018 09:24:32 +0000
(18:24 +0900)
committer
whitestar
<whitestar@users.osdn.me>
Sun, 16 Sep 2018 09:24:32 +0000
(18:24 +0900)
cookbooks/00cookbook/Rakefile
patch
|
blob
|
history
diff --git
a/cookbooks/00cookbook/Rakefile
b/cookbooks/00cookbook/Rakefile
index
92df2f3
..
f1c82d7
100644
(file)
--- a/
cookbooks/00cookbook/Rakefile
+++ b/
cookbooks/00cookbook/Rakefile
@@
-10,11
+10,6
@@
desc 'Initialize project'
task :init do
next if cookbook_name == tpl_cookbook
- ruby [
- %(-pne '$_.gsub!(/^cookbook-name: .*$/, "cookbook-name: #{cookbook_name}")'),
- '-i fly-vars.local.yml',
- ].join(' ')
-
[
'.foodcritic',
'.rubocop.yml',
@@
-28,6
+23,11
@@
task :init do
].each {|conf|
sh "cp ../#{tpl_cookbook}/#{conf} ./" unless File.exist?(conf)
}
+
+ ruby [
+ %(-pne '$_.gsub!(/^cookbook-name: .*$/, "cookbook-name: #{cookbook_name}")'),
+ '-i fly-vars.local.yml',
+ ].join(' ')
end
desc 'Update project'