Skip to content

Commit 768ac4a

Browse files
committed
Update configure for new variables, fixes #45
1 parent a4c43f2 commit 768ac4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ end
8585
##
8686

8787
substitutions = {
88-
'__PROJECT_NAME__' => 'MyProject',
88+
'xxPROJECTxNAMExx' => 'MyProject',
8989
'__ORGANIZATION NAME__' => 'Awesome Org',
9090
'com.AN.ORGANIZATION.IDENTIFIER' => 'com.awesome',
9191
'__AUTHOR NAME__' => 'Mr McAwesome',
@@ -97,11 +97,11 @@ substitutions.each do |variable, default|
9797
substitutions[variable] =
9898
Env.fetch_smt(variable, default, &method(:prompt_for_variable))
9999
end
100-
substitutions['--PROJECT-NAME--'] = substitutions['__PROJECT_NAME__']
100+
# substitutions['--PROJECT-NAME--'] = substitutions['__PROJECT_NAME__']
101101

102102
Dir.chdir File.dirname(__FILE__)
103103
FileUtils.mkdir_p 'OUTPUT'
104-
FileUtils.cp_r '__PROJECT_NAME__', 'OUTPUT/'
104+
FileUtils.cp_r 'xxPROJECTxNAMExx', 'OUTPUT/'
105105
Dir.chdir 'OUTPUT/'
106106

107107
replace_variables_in_files(substitutions)

0 commit comments

Comments
 (0)