Skip to content

Commit

Permalink
Move build-wasm script to inference-engine/scripts directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nordzilla committed Sep 26, 2024
1 parent cf23bf7 commit 4d250bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ tasks:
- >-
task docker-run -- ./inference-engine/scripts/unit-tests.sh
inference-engine-build-wasm:
desc: Run inference-engine tests.
cmds:
- >-
task docker-run -- ./inference-engine/scripts/build-wasm.sh
lint-black:
desc: Checks the styling of the Python code with Black.
deps: [poetry-install-black]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/usr/bin/env bash
set -e
set -x

# Run script from the context of the script-containing directory
cd "$(dirname $0)"
# Run script from the context of inference-engine directory
cd "$(dirname $0)/.."

# Ensure script is running within docker
./scripts/detect-docker.sh inference-engine-build-wasm

set -x

# Prerequisite: Download and Install Emscripten using following instructions (unless the EMSDK env var is already set)
if [ "$EMSDK" == "" ]; then
Expand Down

0 comments on commit 4d250bf

Please sign in to comment.