Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 695 Bytes

File metadata and controls

38 lines (26 loc) · 695 Bytes

How To Test

Follow these steps from the project root.

1. Pull the submodule dependencies

pubspec.yaml uses a local path override from the third_party/sqlite3.dart submodule, so initialize and update submodules first.

git submodule update --init --recursive third_party/sqlite3.dart

2. Build the Docker image

docker build -t libturso:sandbox .

3. Run the container with the current directory mounted

docker run --rm -it \
  -v "$(pwd):/app" \
  -w /app \
  libturso:sandbox

4. Compile the binary inside the container

cargo build

5. Run the Dart file in bin/ to test

dart run bin/libsqlite3_turso.dart