Skip to content

Commit

Permalink
Add DragonFlyBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Sep 15, 2022
1 parent 664f4b8 commit cb34e50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const extendedBin = (baseDownloadUrl) => new BinWrapper()
.src(`${baseDownloadUrl}hugo_extended_${hugoVersion}_macOS-universal.tar.gz`, 'darwin', 'arm64')
.src(`${baseDownloadUrl}hugo_extended_${hugoVersion}_Windows-64bit.zip`, 'win32', 'x64')
// Fall back to the normal version on unsupported platforms
.src(`${baseDownloadUrl}hugo_${hugoVersion}_DragonFlyBSD-64bit.tar.gz`, 'dragonflybsd', 'x64')
.src(`${baseDownloadUrl}hugo_${hugoVersion}_FreeBSD-64bit.tar.gz`, 'freebsd', 'x64')
.src(`${baseDownloadUrl}hugo_${hugoVersion}_Linux-ARM.tar.gz`, 'linux', 'arm')
.src(`${baseDownloadUrl}hugo_${hugoVersion}_Linux-ARM64.tar.gz`, 'linux', 'arm64')
Expand All @@ -26,6 +27,7 @@ const extendedBin = (baseDownloadUrl) => new BinWrapper()
.use(binName);

const normalBin = (baseDownloadUrl) => new BinWrapper()
.src(`${baseDownloadUrl}hugo_${hugoVersion}_DragonFlyBSD-64bit.tar.gz`, 'dragonflybsd', 'x64')
.src(`${baseDownloadUrl}hugo_${hugoVersion}_FreeBSD-64bit.tar.gz`, 'freebsd', 'x64')
.src(`${baseDownloadUrl}hugo_${hugoVersion}_Linux-64bit.tar.gz`, 'linux', 'x64')
.src(`${baseDownloadUrl}hugo_${hugoVersion}_Linux-ARM.tar.gz`, 'linux', 'arm')
Expand Down

0 comments on commit cb34e50

Please sign in to comment.