-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
iasergunin
committed
Dec 15, 2023
1 parent
f14f261
commit 8b57256
Showing
16 changed files
with
42 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,6 @@ go.mod.tidy: | |
|
||
go.mod.vendor: | ||
cd sh && sh ./go.mod.vendor.sh | ||
|
||
go.work.sync: | ||
cd sh && sh ./go.work.sync.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ go 1.21 | |
use . | ||
|
||
replace github.com/avito-tech/go-transaction-manager/v2 => ../../ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ go 1.21 | |
use . | ||
|
||
replace github.com/avito-tech/go-transaction-manager/v2 => ../../ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ go 1.21 | |
use . | ||
|
||
replace github.com/avito-tech/go-transaction-manager/v2 => ../../ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,3 @@ require ( | |
go.uber.org/multierr v1.9.0 | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
#!/bin/bash | ||
|
||
DIR=$(pwd) | ||
drivers=$($DIR/utils/drivers.sh) | ||
|
||
cd ../ | ||
|
||
ROOT=$(pwd) | ||
|
||
go mod tidy | ||
|
||
drivers=$($DIR/utils/drivers.sh) | ||
go mod tidy & | ||
|
||
for driver in $drivers; do | ||
if [ -d "$driver" ]; then | ||
echo "\n$driver" | ||
cd $driver && go mod tidy | ||
cd $driver && go mod tidy & | ||
|
||
cd $ROOT | ||
fi | ||
done | ||
|
||
wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#!/bin/bash | ||
|
||
DIR=$(pwd) | ||
drivers=$($DIR/utils/drivers.sh) | ||
|
||
cd ../ | ||
|
||
ROOT=$(pwd) | ||
|
||
go mod vendor | ||
|
||
drivers=$($DIR/utils/drivers.sh) | ||
go mod vendor & | ||
|
||
for driver in $drivers; do | ||
if [ -d "$driver" ]; then | ||
echo "\n$driver" | ||
|
||
cd $driver && \ | ||
$ROOT/sh/utils/go.mod.replace.default.sh | ||
go mod vendor && \ | ||
$ROOT/sh/utils/go.mod.dropreplace.default.sh | ||
cd $driver && go mod vendor & | ||
|
||
cd $ROOT | ||
fi | ||
done | ||
|
||
wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
DIR=$(pwd) | ||
drivers=$($DIR/utils/drivers.sh) | ||
|
||
cd ../ | ||
|
||
ROOT=$(pwd) | ||
|
||
for driver in $drivers; do | ||
if [ -d "$driver" ]; then | ||
echo "\n$driver" | ||
cd $driver && go work sync & | ||
|
||
cd $ROOT | ||
fi | ||
done | ||
|
||
wait |