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 /testscripts | |
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 'testscripts')
-rw-r--r-- | testscripts/commands/gen.txt | 5 | ||||
-rw-r--r-- | testscripts/withdeploy/deploy.txt (renamed from testscripts/commands/deploy.txt) | 0 |
2 files changed, 0 insertions, 5 deletions
diff --git a/testscripts/commands/gen.txt b/testscripts/commands/gen.txt index b8fe9d2dc..092b4e129 100644 --- a/testscripts/commands/gen.txt +++ b/testscripts/commands/gen.txt @@ -1,17 +1,12 @@ # Test the gen commands. -# Note that adding new commands will require updating the NUM_COMMANDS value. -env NUM_COMMANDS=44 hugo gen -h stdout 'Generate documentation for your project using Hugo''s documentation engine, including syntax highlighting for various programming languages\.' - hugo gen doc --dir clidocs -checkfilecount $NUM_COMMANDS clidocs hugo gen man -h stdout 'up-to-date man pages' hugo gen man --dir manpages -checkfilecount $NUM_COMMANDS manpages hugo gen chromastyles -h stdout 'Generate CSS stylesheet for the Chroma code highlighter' diff --git a/testscripts/commands/deploy.txt b/testscripts/withdeploy/deploy.txt index 2586f8b8f..2586f8b8f 100644 --- a/testscripts/commands/deploy.txt +++ b/testscripts/withdeploy/deploy.txt |