mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
8 lines
303 B
Bash
8 lines
303 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# mockgen is particularly sensitive about what mode we run it in
|
||
|
export GOFLAGS=""
|
||
|
export GO111MODULE=on
|
||
|
|
||
|
mockgen -destination mock.go github.com/hashicorp/terraform/internal/tfplugin5 ProviderClient,ProvisionerClient,Provisioner_ProvisionResourceClient,Provisioner_ProvisionResourceServer
|