Skip to content

siberex/cli.tar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cli.tar

CLI tool that creates a TAR file from the list of inputs.

Also provides custom Bazel rules pkg_tar and file_size

Prerequisites

Install bazelisk:

go install github.com/bazelbuild/bazelisk@latest
ln -s "$GOPATH/bin/bazelisk" /usr/local/bin/bazel

Bazel targets

File size custom rule:

bazel run //rules:size

pkg_tar custom rule:

bazel build //rules:archive

CLI TAR go binary:

bazel run //cmd/tar -- output.tar input1 input2 input3

Linters

bazel run //:buildifier

Tests

bazel test //rules:pkg_tar_test

About

CLI tool that creates a TAR from inputs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published