Grammalecte  Check-in [841c1372ef]

Overview
Comment:[build] use Firefox Developper edition again
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | build
Files: files | file ages | folders
SHA3-256: 841c1372ef95ff727d922eb6f9dabde956c1e54a98b0c205b57815c7e022293d
User & Date: olr on 2017-11-10 20:59:26
Other Links: manifest | tags
Context
2017-11-10
22:11
[build][bug] convert to JS <element in set> (bug hidden there for a long time) check-in: 40c1670cc4 user: olr tags: build, trunk
20:59
[build] use Firefox Developper edition again check-in: 841c1372ef user: olr tags: build, trunk
20:45
[fr] autres tests pour les guillemets + commentaires check-in: e3c4cc6975 user: olr tags: fr, trunk
Changes

Modified make.py from [ccd63c6d40] to [63b5b07d38].

   284    284       xParser.add_argument("-bb", "--build_data_before", help="launch build_data.py (only part 1: before dictionary building)", action="store_true")
   285    285       xParser.add_argument("-ba", "--build_data_after", help="launch build_data.py (only part 2: before dictionary building)", action="store_true")
   286    286       xParser.add_argument("-d", "--dict", help="generate FSA dictionary", action="store_true")
   287    287       xParser.add_argument("-t", "--tests", help="run unit tests", action="store_true")
   288    288       xParser.add_argument("-p", "--perf", help="run performance tests", action="store_true")
   289    289       xParser.add_argument("-pm", "--perf_memo", help="run performance tests and store results in perf_memo.txt", action="store_true")
   290    290       xParser.add_argument("-js", "--javascript", help="JavaScript build for Firefox", action="store_true")
   291         -    xParser.add_argument("-fx", "--firefox", help="Launch Firefox Nightly for WebExtension testing", action="store_true")
          291  +    xParser.add_argument("-fx", "--firefox", help="Launch Firefox Developper for WebExtension testing", action="store_true")
   292    292       xParser.add_argument("-we", "--web_ext", help="Launch Firefox Nightly for WebExtension testing", action="store_true")
   293    293       xParser.add_argument("-tb", "--thunderbird", help="Launch Thunderbird", action="store_true")
   294    294       xParser.add_argument("-i", "--install", help="install the extension in Writer (path of unopkg must be set in config.ini)", action="store_true")
   295    295       xArgs = xParser.parse_args()
   296    296   
   297    297       if xArgs.build_data:
   298    298           xArgs.build_data_before = True
................................................................................
   352    352               if False:
   353    353                   # obsolete
   354    354                   with helpers.cd("_build/xpi/"+sLang):
   355    355                       spfFirefox = dVars['win_fx_dev_path']  if platform.system() == "Windows"  else dVars['linux_fx_dev_path']
   356    356                       os.system('jpm run -b "' + spfFirefox + '"')
   357    357   
   358    358               if xArgs.web_ext or xArgs.firefox:
          359  +                
   359    360                   with helpers.cd("_build/webext/"+sLang):
   360         -                    spfFirefox = dVars['win_fx_nightly_path']  if platform.system() == "Windows"  else dVars['linux_fx_nightly_path']
          361  +                    if xArgs.firefox:
          362  +                        # Firefox Developper edition
          363  +                        spfFirefox = dVars['win_fx_dev_path']  if platform.system() == "Windows"  else dVars['linux_fx_dev_path']
          364  +                    else:
          365  +                        # Firefox Nightly edition
          366  +                        spfFirefox = dVars['win_fx_nightly_path']  if platform.system() == "Windows"  else dVars['linux_fx_nightly_path']
   361    367                       os.system(r'web-ext run --firefox="' + spfFirefox + '" --browser-console --firefox-profile=debug')            
   362    368   
   363    369               # Thunderbird
   364    370               if xArgs.thunderbird:
   365    371                   os.system("thunderbird -jsconsole -P debug")
   366    372           else:
   367    373               print("Folder not found: gc_lang/"+sLang)
   368    374   
   369    375   
   370    376   if __name__ == '__main__':
   371    377       main()