NeoHsu / asdf-hugo

hugo plugin for the asdf version manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 globally (on your ~/.tool-versions file)
asdf global 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

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.85.0

# Now you can manage it like you're used to
asdf global hugo extended_0.85.0

NOTE: The extended builds for hugo 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.

License:MIT License


Languages

Language:Shell 100.0%