Skip to content

Commit

Permalink
Drop binaries from git repository [ci skip]
Browse files Browse the repository at this point in the history
They're just too heavy for comfortable work with git

One can always build binaries with goreleaser and populate folders for gem and npm release with following commands:

	cp -rf dist/lefthook_* .rubygems/libexec/
	cp -rf dist/lefthook_* .npm/bin/
  • Loading branch information
Envek committed May 14, 2021
1 parent 42acef3 commit 697e0b1
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ cplefthook
tmp/
dist/
.rubygems/pkg/
.rubygems/libexec/
.npm/bin/
package.json
node_modules/
yarn.lock
Expand Down
Binary file removed .npm/bin/lefthook_darwin_amd64/lefthook
Binary file not shown.
Binary file removed .npm/bin/lefthook_darwin_arm64/lefthook
Binary file not shown.
Binary file removed .npm/bin/lefthook_linux_386/lefthook
Binary file not shown.
Binary file removed .npm/bin/lefthook_linux_amd64/lefthook
Binary file not shown.
Binary file removed .npm/bin/lefthook_linux_arm64/lefthook
Binary file not shown.
Binary file removed .npm/bin/lefthook_windows_386/lefthook.exe
Binary file not shown.
Binary file removed .npm/bin/lefthook_windows_amd64/lefthook.exe
Binary file not shown.
Empty file added .rubygems/libexec/.keep
Empty file.
Binary file removed .rubygems/libexec/lefthook_darwin_amd64/lefthook
Binary file not shown.
Binary file removed .rubygems/libexec/lefthook_darwin_arm64/lefthook
Binary file not shown.
Binary file removed .rubygems/libexec/lefthook_linux_386/lefthook
Binary file not shown.
Binary file removed .rubygems/libexec/lefthook_linux_amd64/lefthook
Binary file not shown.
Binary file removed .rubygems/libexec/lefthook_linux_arm64/lefthook
Binary file not shown.
Binary file removed .rubygems/libexec/lefthook_windows_386/lefthook.exe
Binary file not shown.
Binary file not shown.

1 comment on commit 697e0b1

@Envek
Copy link
Member Author

@Envek Envek commented on 697e0b1 May 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way actual commands to copy built binaries are:

(cd dist/; find . -executable -type f -exec cp --parents \{\} ../.rubygems/libexec/ \;)
(cd dist/; find . -executable -type f -exec cp --parents \{\} ../.npm/bin/ \;)

Please sign in to comment.