-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support a zip file of an app dir with pack build
#106
Comments
JARs are just zips, and the JBPs work on an exploded JAR already. This will probably just work. This is actually how the cf CLI works today. |
@sclevine I think pack only supports directories currently though. I agree if it will work for zips it will work for jars (as long as we allow the extension). |
I'd give serious thought to not using extension but rather looking for the magic number ( |
@nebhale That makes sense. I was hoping that we could do something like that. Thanks for the clarification. |
Resolves #106 Signed-off-by: Andrew Meyer <ameyer@pivotal.io> Signed-off-by: Javier Romero <jromero@pivotal.io>
Resolves #106 Signed-off-by: Andrew Meyer <ameyer@pivotal.io> Signed-off-by: Javier Romero <jromero@pivotal.io>
Resolves #106 Signed-off-by: Andrew Meyer <ameyer@pivotal.io> Signed-off-by: Javier Romero <jromero@pivotal.io>
Also, disable redundant travis builds for PRs. Resolves #106 Signed-off-by: Andrew Meyer <ameyer@pivotal.io> Signed-off-by: Javier Romero <jromero@pivotal.io>
Also, disable redundant travis builds for PRs. Resolves #106 Signed-off-by: Andrew Meyer <ameyer@pivotal.io> Signed-off-by: Javier Romero <jromero@pivotal.io>
Also, disable redundant travis builds for PRs. Resolves #106 Signed-off-by: Javier Romero <jromero@pivotal.io> Signed-off-by: Andrew Meyer <ameyer@pivotal.io>
This story passes acceptance. |
Acceptance Criteria
Zip file
Given my application is located at the root of a zip-formatted file
When I run
pack build -p <path to zip> my-app
Then The build succeeds
Non-zip file
When I run
pack build -p <path to file> my-app
Then The build fails with a message:
Notes
PK\x03\x04
)pack run
The text was updated successfully, but these errors were encountered: