mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
14 lines
265 B
Bash
Executable File
14 lines
265 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd -P -- "$(dirname -- "$0")"
|
|
|
|
rm -rf gorm/ tests/
|
|
git clone --filter=blob:none --branch=v1.25.1 https://github.com/go-gorm/gorm.git
|
|
mv gorm/tests tests
|
|
rm -rf gorm/
|
|
|
|
patch -p1 -N < tests.patch
|
|
|
|
cd tests
|
|
go mod tidy && go test |