build.bat 415 B

1234567891011
  1. @REM Copyright (C) 2019 Intel Corporation. All rights reserved.
  2. @REM SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  3. @echo off
  4. @REM start a container, mount current project path to container/mnt
  5. docker run --rm --name=wasm-toolchain-ctr ^
  6. -it -v "%cd%":/mnt ^
  7. --env=PROJ_PATH="%cd%" ^
  8. wasm-toolchain:%2 ^
  9. /bin/bash -c "./build_wasm.sh %1"