-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Milestone
Description
The zip command currently only zips a directory. However, for many devs, the whole concept of "stagingDir" is confusing, and typically unnecessary. I propose the following expected behaviors for zip:
- it should accept a
dirarg, which is a folder where you want to zip the files from. (i believe this is the existing behavior) - it should accept a standard rokudeploy
filesarray, and these would be resolved with the roku-deploy algorithm. The files are read from disk and immediately written into the zip without ever being copied into a staging directory.
Some examples:
npx roku-deploy zip --dir ./dist --out myApp.zip
npx roku-deploy zip --files "source/**/*" "components/**/*" fonts/**/* --out myApp.zip
This should apply to the cli, the commands, and the rokuDeploy.zip() function call.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels