Skip to content

Separate TSCrunch into its own library and cli tools#2

Open
staD020 wants to merge 21 commits intotonysavon:mainfrom
staD020:main
Open

Separate TSCrunch into its own library and cli tools#2
staD020 wants to merge 21 commits intotonysavon:mainfrom
staD020:main

Conversation

@staD020
Copy link

@staD020 staD020 commented May 7, 2022

Hi Tony,

Wanted to send you this PR with some improvements for your TSCrunch, without changing any of the logic or characteristics:

  • Separate TSCrunch into its own library and cli tools.
  • Refactor so that TSCrunch implements the io.WriterTo interface and accepts an io.Reader as input.
  • Added multitscrunch cli tool, for crunching many files in parallel.
  • Separated the boot binary into it's own boot.prg file for easy future updates.
  • Add go.mod and go.sum to support Go modules.

To build, just run: go build ./cmd/tscrunch and you'll get an executable that works exactly the same as your current version. If people want to install from source, they can just do go install github.com/tonysavon/TSCrunch/cmd/tscrunch.
I've tried to keep the changes as clean as possible. Hope you can merge it in :)

regards,
Enno

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant