Skip to main content
Module

x/deno_notify/run_tests.sh

Send desktop notifications on all platforms in Deno
Go to Latest
File
#!/bin/bash
# Local Debug Mode: ./run_tests.sh# Add "release" to build a release version of the rust lib# Or add "online" to run the tests using the online lib instead# Example: ./run_tests.sh online
set -e
# Build in release mode if neededif [[ $1 = "release" ]]; then cargo build -p deno_notify --release export NOTIFY_PLUGIN_URL=./target/release/ # Build in debug mode if not release and not onlineelif [[ $1 != "online" ]]; then cargo build -p deno_notify export NOTIFY_PLUGIN_URL=./target/debug/fi
deno test --unstable --allow-all tests/*.ts