mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Make build target (#1927)
Signed-off-by: Ioannis Polyzos <git@ipolyzos.com>
This commit is contained in:
parent
b6cd97f957
commit
a00b81d6a9
@ -9,6 +9,7 @@ ENHANCEMENTS:
|
||||
* Improved performance for large graphs when debug logs are not enabled. ([#1810](https://github.com/opentofu/opentofu/pull/1810))
|
||||
* Improved performance for large graphs with many submodules. ([#1809](https://github.com/opentofu/opentofu/pull/1809))
|
||||
* Added mutli-line support to the `tofu console` command. ([#1307](https://github.com/opentofu/opentofu/issues/1307))
|
||||
* Added a simplified Build Process with a Makefile Target ([#1926](https://github.com/opentofu/opentofu/issues/1926))
|
||||
|
||||
BUG FIXES:
|
||||
* Ensure that using a sensitive path for templatefile that it doesn't panic([#1801](https://github.com/opentofu/opentofu/issues/1801))
|
||||
|
6
Makefile
6
Makefile
@ -3,6 +3,12 @@ export PATH := $(abspath bin/):${PATH}
|
||||
# Dependency versions
|
||||
LICENSEI_VERSION = 0.9.0
|
||||
|
||||
# build tofu binary in the current directory with the version set to the git tag
|
||||
# or commit hash if there is no tag.
|
||||
.PHONY: build
|
||||
build:
|
||||
go build -ldflags "-X main.version=$(shell git describe --tags --always --dirty)" -o tofu ./cmd/tofu
|
||||
|
||||
# generate runs `go generate` to build the dynamically generated
|
||||
# source files, except the protobuf stubs which are built instead with
|
||||
# "make protobuf".
|
||||
|
Loading…
Reference in New Issue
Block a user