updated go/Makefile.am
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
463f112ae5
commit
dc01f41773
@ -28,6 +28,7 @@ hclgo.bin:
|
|||||||
[ -f $(srcdir)/go.sum ] && cp -pf $(srcdir)/go.sum $(builddir)/go.sum >/dev/null 2>&1 || true
|
[ -f $(srcdir)/go.sum ] && cp -pf $(srcdir)/go.sum $(builddir)/go.sum >/dev/null 2>&1 || true
|
||||||
go build -C $(srcdir) -x -o $(abs_builddir)/hclgo.bin -modfile $(abs_builddir)/go.mod
|
go build -C $(srcdir) -x -o $(abs_builddir)/hclgo.bin -modfile $(abs_builddir)/go.mod
|
||||||
go clean -C $(srcdir) -x -modfile $(abs_builddir)/go.mod
|
go clean -C $(srcdir) -x -modfile $(abs_builddir)/go.mod
|
||||||
|
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||||
|
|
||||||
## the go to o recipe is fake to deceive make
|
## the go to o recipe is fake to deceive make
|
||||||
.go.o:
|
.go.o:
|
||||||
@ -38,4 +39,4 @@ hclgo.bin:
|
|||||||
|
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf $(abs_builddir)/go.mod $(abs_builddir)/go.sum
|
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||||
|
@ -626,6 +626,7 @@ hclgo.bin:
|
|||||||
[ -f $(srcdir)/go.sum ] && cp -pf $(srcdir)/go.sum $(builddir)/go.sum >/dev/null 2>&1 || true
|
[ -f $(srcdir)/go.sum ] && cp -pf $(srcdir)/go.sum $(builddir)/go.sum >/dev/null 2>&1 || true
|
||||||
go build -C $(srcdir) -x -o $(abs_builddir)/hclgo.bin -modfile $(abs_builddir)/go.mod
|
go build -C $(srcdir) -x -o $(abs_builddir)/hclgo.bin -modfile $(abs_builddir)/go.mod
|
||||||
go clean -C $(srcdir) -x -modfile $(abs_builddir)/go.mod
|
go clean -C $(srcdir) -x -modfile $(abs_builddir)/go.mod
|
||||||
|
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||||
|
|
||||||
.go.o:
|
.go.o:
|
||||||
echo $< > $@
|
echo $< > $@
|
||||||
@ -634,7 +635,7 @@ hclgo.bin:
|
|||||||
echo $< > $@
|
echo $< > $@
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf $(abs_builddir)/go.mod $(abs_builddir)/go.sum
|
rm -rf $(builddir)/go.mod $(builddir)/go.sum
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
Loading…
Reference in New Issue
Block a user