lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] NightOwl888 opened a new issue #364: Task: Make cross-OS build script
Date Tue, 06 Oct 2020 17:46:51 GMT

NightOwl888 opened a new issue #364:

   We currently have a `.bat` script file to launch the build from the command line that wraps
a Powershell file. Clearly, since `.bat` is Windows-only, we will need to make a `.sh` script
file in order to be able to build on other operating systems.
   The [actual `build.bat` file](
does nothing more than read command line parameters (in any order they are entered), setting
defaults where appropriate, and then launch Powershell with the PSake module.
   While we could provide instructions to launch the Powershell script using when not running
on Windows, the command structure would be simpler for end users if they had a similar ``
wrapper script with the same inputs as the `build.bat` file (and if it is possible to use
the `.sh` file on Windows, simply eliminate the `.bat` file).
   Note that the `` script also [generates a replacement `build.bat` file](
that eliminates the `version` and `packageVersion` parameters when building a release. This
ensures a [release distribution]('s `build.bat`
file will always build the current release version unless the user manually updates the `version.props`
file that is also in the release distribution. `` will need to be updated to generate
a `` file during a release for the same reasons.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message