mirror of
https://github.com/tlsnotary/tlsn-js.git
synced 2026-01-08 22:48:04 -05:00
* Revert "chore: release v0.1.0-alpha.6 (#57)"
This reverts commit 292b4263d7.
* parsed json
* add json commitments
* parse json from transcript
* wip
* wip
* wip
* feat: update to alpha.6
* chore: commit wasm pkg directory
* chore: version nump
* fix: test suite for alpha.6
* fix: remove wasm build from ci
* fix: update pnpm lockfile
* fix: remove test:wasm
* fix: linter and add new devDependency
33 lines
765 B
Bash
Executable File
33 lines
765 B
Bash
Executable File
#!/bin/bash
|
|
# Run tlsn Server fixture
|
|
|
|
# Set the directory to the location of the script
|
|
cd "$(dirname "$0")"
|
|
|
|
# Name of the directory where the repo will be cloned
|
|
REPO_DIR="tlsn"
|
|
|
|
# Check if the directory exists
|
|
if [ ! -d "$REPO_DIR" ]; then
|
|
# Clone the repository if it does not exist
|
|
git clone https://github.com/tlsnotary/tlsn.git "$REPO_DIR"
|
|
cd "$REPO_DIR"
|
|
else
|
|
# If the directory exists, just change to it
|
|
cd "$REPO_DIR"
|
|
# Fetch the latest changes in the repo without checkout
|
|
git fetch
|
|
fi
|
|
|
|
# Checkout the specific tag
|
|
git checkout "v0.1.0-alpha.6"
|
|
|
|
for dir in "tlsn/tlsn-server-fixture/" "notary/server"; do
|
|
# Change to the specific subdirectory
|
|
cd ${dir}
|
|
|
|
# Build the project
|
|
cargo build --release
|
|
cd -
|
|
done
|