sumarsono.com
Take it with a grain of salt


Compile Hugo Extended Version on Termux

Posted on

Sampai tulisan ini ditulis, hugo-extended version belum ada untuk versi arm64 di github release hugo. Oleh sebab itu aku harus compile sendiri, caranya cukup mudah karena tertulis di README.md repository hugo di github.

Berikut ini ringkasan cara compile hugo extended version di termux yang aku coba:

$ git clone https://github.com/gohugoio/hugo.git
$ cd hugo/
$ CGO_ENABLED=1 go build --tags extended
$ install hugo $PREFIX/bin/
$ which hugo
$ hugo version
hugo v0.85.0-DEV+extended android/arm64 BuildDate=unknown