diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-10-30 09:29:38 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-10-30 11:46:40 +0100 |
commit | 89bd025ebfd2c559039826641702941fc35a7fdb (patch) | |
tree | 96b457737db99ffd1a27d502798257f0e7d79db6 /deploy/deployconfig | |
parent | 62567d38205a61134a6822d37a534520772419f1 (diff) | |
download | hugo-89bd025ebfd2c559039826641702941fc35a7fdb.tar.gz hugo-89bd025ebfd2c559039826641702941fc35a7fdb.zip |
Build without the deploy feature by default
Build tags setup changed to:
* !nodeploy => withdeploy
* nodeploy => !withdeploy
Also move the deploy feature out into its own release archives.
See #12994 for the primary motivation for this change. But this also greatly reduces the number of dependencies in Hugo when you don't need this feature and cuts the binary size greatly.
Fixes #12994
Diffstat (limited to 'deploy/deployconfig')
-rw-r--r-- | deploy/deployconfig/deployConfig_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/deployconfig/deployConfig_test.go b/deploy/deployconfig/deployConfig_test.go index 0b92a5cb1..8a3ad2d8a 100644 --- a/deploy/deployconfig/deployConfig_test.go +++ b/deploy/deployconfig/deployConfig_test.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !nodeploy -// +build !nodeploy +//go:build withdeploy +// +build withdeploy package deployconfig |