simplehttp2server icon indicating copy to clipboard operation
simplehttp2server copied to clipboard

OpenBSD (and others) support

Open Superpat opened this issue 7 years ago • 3 comments

I have simplehttp2 installed with go get but this package always tries to use the binaries, which doesnt work on openbsd (or any random os without prebuilt binaries)

I'd like to install preact-cli but it requires this package as a dependency. Would there be a way to defer to the go compiler when no binaries are available? That way any operating system with go installed could be supported.

Superpat avatar Mar 21 '18 22:03 Superpat

Actually, if this pull request https://github.com/kevva/bin-wrapper/pull/56 got merge, the problem would be solved. So I'll close this issue

Superpat avatar Mar 22 '18 16:03 Superpat

Though for the pull request to work you will have to update your error handling in suffix.js

Superpat avatar Mar 22 '18 17:03 Superpat

Just letting you know that applying the pull request to bin-wrapper, changing the filename variable in lib/index.js to 'simplehttp2server' and running node lib/install.js myself, I was able to run npm run dev in the preact-cli widget template.

Superpat avatar Mar 22 '18 18:03 Superpat