File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 85
85
##
86
86
87
87
substitutions = {
88
- '__PROJECT_NAME__ ' => 'MyProject' ,
88
+ 'xxPROJECTxNAMExx ' => 'MyProject' ,
89
89
'__ORGANIZATION NAME__' => 'Awesome Org' ,
90
90
'com.AN.ORGANIZATION.IDENTIFIER' => 'com.awesome' ,
91
91
'__AUTHOR NAME__' => 'Mr McAwesome' ,
@@ -97,11 +97,11 @@ substitutions.each do |variable, default|
97
97
substitutions [ variable ] =
98
98
Env . fetch_smt ( variable , default , &method ( :prompt_for_variable ) )
99
99
end
100
- substitutions [ '--PROJECT-NAME--' ] = substitutions [ '__PROJECT_NAME__' ]
100
+ # substitutions['--PROJECT-NAME--'] = substitutions['__PROJECT_NAME__']
101
101
102
102
Dir . chdir File . dirname ( __FILE__ )
103
103
FileUtils . mkdir_p 'OUTPUT'
104
- FileUtils . cp_r '__PROJECT_NAME__ ' , 'OUTPUT/'
104
+ FileUtils . cp_r 'xxPROJECTxNAMExx ' , 'OUTPUT/'
105
105
Dir . chdir 'OUTPUT/'
106
106
107
107
replace_variables_in_files ( substitutions )
You can’t perform that action at this time.
0 commit comments