sanathkr / go-npm

Distribute and install Go binaries via NPM
Apache License 2.0
171 stars 56 forks source link

Copying files in addition to the binary #13

Open marcauberer opened 3 years ago

marcauberer commented 3 years ago

Hi, let me show you my usecase: My go binary needs some configuration files to work with, so the file structure of a tar.gz archive from Goreleaser looks like this:

app_1.0.0_linux_amd64.tar.gz ├─data <-- directory, that I want to copy recursively. If possible to an appropriate directory │ ├─data1.txt │ ├─data2.json │ ├─data3.yml │ └─... ├─app <-- executable └─LICENSE

Is this possible with this library? Do you have any recommendation?

Thanks in advance ...

marcauberer commented 3 years ago

?