Skip to content

NeoHsu/asdf-hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asdf-hugo Build Lint

hugo plugin for the asdf version manager.

Build History

Build history

Contents

Dependencies

  • bash, curl, tar: generic POSIX utilities.

Install

Plugin:

asdf plugin add hugo
# or
asdf plugin add hugo https://github.com/NeoHsu/asdf-hugo.git

hugo:

# Show all installable versions
asdf list all hugo

# Install specific version
asdf install hugo latest

# Set a version for your user (writes to your ~/.tool-versions)
asdf set -u hugo latest

# Now hugo commands are available
hugo version

Check asdf readme for more instructions on how to install & manage versions.

Extended builds for Sass/SCSS support and deploy edition

To install an extended Hugo version with Sass/SCSS support simply prefix the version number in the asdf install command with extended_.

# Install extended hugo version
asdf install hugo extended_0.154.3

# Now you can manage it like you're used to
asdf set -u hugo extended_0.154.3

There is also an "extended/deploy" variant which includes the extended build plus additional deployment/cloud functionality.

# Install extended/deploy hugo version
asdf install hugo extended_withdeploy-0.154.3

# Manage it the same way
asdf set --home hugo extended_withdeploy-0.154.3

See the Editions section in the Hugo README for more details.

NOTE: The extended builds for Hugo (including the with-deploy edition) are only available for 64bit Linux, macOS, and Windows. See the asset list at https://github.com/gohugoio/hugo/releases/latest.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Neo Hsu

About

hugo plugin for the asdf version manager.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages