remove ^:figwheel-load from core.cljs in upgrade command

This commit is contained in:
Artur Girenko 2016-01-30 18:21:27 +01:00
parent 42a9256805
commit 13431d00d7
1 changed files with 4 additions and 0 deletions

View File

@ -523,6 +523,10 @@ doUpgrade = (config) ->
writeConfig(config)
log 'upgraded .re-natal'
edit "src/#{projNameUs}/ios/core.cljs", [[/\^:figwheel-load\s/g, ""]]
edit "src/#{projNameUs}/android/core.cljs", [[/\^:figwheel-load\s/g, ""]]
log 'upgraded core.cljs'
edit '.gitignore', [[/^\s*env\/dev\s*$/m, ""]]
gignore = readFile '.gitignore'
if (!gignore.match /^\s*target\/\s*$/m)