Grammalecte  Check-in [f1955d65d4]

Overview
Comment:[build] change build option for Firefox Nightly
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | build
Files: files | file ages | folders
SHA3-256: f1955d65d40dbf7d3bbb8055db6c437b329e6cd923a4937698df13ad25aad09d
User & Date: olr on 2020-03-20 08:03:53
Other Links: manifest | tags
Context
2020-03-20
09:04
[build] move generated web-extension from deep folder to _build check-in: 22d07b42b2 user: olr tags: build, trunk
08:03
[build] change build option for Firefox Nightly check-in: f1955d65d4 user: olr tags: build, trunk
07:48
[fx] fix observePage() check-in: 0ca1346846 user: olr tags: fx, trunk
Changes

Modified make.py from [07acee9a6b] to [2303ebeb95].

   380    380       xParser.add_argument("-t", "--tests", help="run unit tests", action="store_true")
   381    381       xParser.add_argument("-p", "--perf", help="run performance tests", action="store_true")
   382    382       xParser.add_argument("-pm", "--perf_memo", help="run performance tests and store results in perf_memo.txt", action="store_true")
   383    383       xParser.add_argument("-js", "--javascript", help="JavaScript build for Firefox", action="store_true")
   384    384       xParser.add_argument("-acd", "--add_community_dictionary", help="add community dictionary to the build", action="store_true")
   385    385       xParser.add_argument("-apd", "--add_personal_dictionary", help="add personal dictionary to the build", action="store_true")
   386    386       xParser.add_argument("-fx", "--firefox", help="Launch Firefox Developper for WebExtension testing", action="store_true")
   387         -    xParser.add_argument("-we", "--web_ext", help="Launch Firefox Nightly for WebExtension testing", action="store_true")
          387  +    xParser.add_argument("-fxn", "--firefox_nightly", help="Launch Firefox Nightly for WebExtension testing", action="store_true")
   388    388       xParser.add_argument("-l", "--lint_web_ext", help="web-ext lint on the WebExtension", action="store_true")
   389    389       xParser.add_argument("-tb", "--thunderbird", help="Launch Thunderbird", action="store_true")
   390    390       xParser.add_argument("-tbb", "--thunderbird_beta", help="Launch Thunderbird Beta", action="store_true")
   391    391       xParser.add_argument("-i", "--install", help="install the extension in Writer (path of unopkg must be set in config.ini)", action="store_true")
   392    392       xArgs = xParser.parse_args()
   393    393   
   394    394       if xArgs.build_data:
................................................................................
   450    450                       if xArgs.tests:
   451    451                           xTestSuite = unittest.TestLoader().loadTestsFromModule(tests)
   452    452                           unittest.TextTestRunner().run(xTestSuite)
   453    453                       if xArgs.perf or xArgs.perf_memo:
   454    454                           hDst = open("./gc_lang/"+sLang+"/perf_memo.txt", "a", encoding="utf-8", newline="\n")  if xArgs.perf_memo  else None
   455    455                           tests.perf(sVersion, hDst)
   456    456   
   457         -            if xArgs.web_ext or xArgs.firefox:
          457  +            if xArgs.firefox or xArgs.firefox_nightly:
   458    458                   with helpers.CD("_build/webext/"+sLang):
   459    459                       if xArgs.lint_web_ext:
   460    460                           os.system(r'web-ext lint -o text')
   461    461                       if xArgs.firefox:
   462    462                           # Firefox Developper edition
   463    463                           spfFirefox = dVars['win_fx_dev_path']  if platform.system() == "Windows"  else dVars['linux_fx_dev_path']
   464    464                       else: