Skip to content

How to ZIP files in a cross-platform way? #2295

Answered by vmaerten
novabyte asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there!
Task doesn't have a built-in zip function.
You can use the platform directive and define a separate command for each platform:
https://taskfile.dev/usage/#platform-specific-tasks-and-commands

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@novabyte
Comment options

@novabyte
Comment options

Answer selected by novabyte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants