mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-28 19:45:33 +00:00

Implement WAMR-IDE with vscode extension to enable developing WebAssembly applications with coding, building, running and debugging support. Support both Linux and Windows, and only support putting all the tools in a docker image, e.g. wasi-sdk, wamrc, iwasm and so on. Co-authored-by: Wang Ning <justdoitwn@163.com>
14 lines
425 B
Batchfile
14 lines
425 B
Batchfile
@REM Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
@REM SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
@echo off
|
|
set target_name=%1
|
|
|
|
docker run -it --name=wasm-executor-ctr ^
|
|
-v "%cd%":/mnt ^
|
|
wasm-debug-server:1.0 ^
|
|
/bin/bash -c "./run.sh %target_name%"
|
|
|
|
@REM stop and remove wasm-executor-ctr
|
|
docker stop wasm-executor-ctr && docker rm wasm-executor-ctr
|