Skip to content

NeoHsu/asdf-hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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 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