/Templates/config_lua.tmTemplate/info.plist

http://github.com/osadchuk/Corona-SDK.tmbundle · Unknown · 19 lines · 19 code · 0 blank · 0 comment · 0 complexity · 07c27062db559de32f7485b23f462b6b MD5 · raw file

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3. <plist version="1.0">
  4. <dict>
  5. <key>command</key>
  6. <string>if [[ ! -f "$TM_NEW_FILE" ]]; then
  7. TM_YEAR=`date +%Y` \
  8. TM_DATE=`date +%Y-%m-%d` \
  9. perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
  10. &lt; template_in.txt &gt; "$TM_NEW_FILE"
  11. fi</string>
  12. <key>extension</key>
  13. <string>lua</string>
  14. <key>name</key>
  15. <string>config.lua</string>
  16. <key>uuid</key>
  17. <string>D23E6AA7-DFA0-4271-97E5-AD0721661E63</string>
  18. </dict>
  19. </plist>