#Bunster: Compile shell scripts to self contained programs.
9 messages · Page 1 of 1 (latest)
what makes this more portable? what would bash #! /bin/bash find . -name '*.go' -not -name '*_test.go' -exec wc -l {} \; | xclip -selection clipboard compile to?
There is a docker image if you want to test it your self
is there a flag to just see the generated code? (and ignore the hater)
imo use goreleaser if you're going to make dockerimages /binaries so they are multi platform and give go install instructions
and I would drop the cmd/bunster move it at the top so the most obvious/shortest just works:
go install github.com/yassinebenaid/bunster@latest
looks like you haven't tagged the version that has generate yet; had to do
go install github.com/yassinebenaid/bunster/cmd/bunster@master
instead of @latest
when it doesn't understand something it just generates empty code without error message or anything, not ideal
for your todo; add set support (ie set -x etc)