Skip to content

Commit

Permalink
README: improve instructions for building from Windows
Browse files Browse the repository at this point in the history
Clarify that builds can run from Linux or Windows and that the sample
command uses PowerShell and not cmd.exe syntax.  Fix syntax error
substituting PWD variable in PowerShell.

Fixes: #181
Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Nov 10, 2023
1 parent 41c18d5 commit daea832
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ of its dependencies, using MinGW-w64.
## Building

The `builder/windows` directory defines a container image with the
dependencies needed to run the build script. To pull the container image
and use it to run a build:
dependencies needed to run the build script. On Linux, or in Windows
PowerShell with WSL 2, you can pull the container image and use it to run a
build:

docker run -ti --rm -v $PWD:/work -w /work \
docker run -ti --rm -v ${PWD}:/work -w /work \
ghcr.io/openslide/winbuild-builder ./build.sh bdist

## Substitute Sources
Expand Down

0 comments on commit daea832

Please sign in to comment.