Skip to content

Converted package.sh and zip.sh to Javascript files.#219

Merged
umeshp7 merged 7 commits intopostmanlabs:developfrom
sastava007:bash/package-zip
Mar 26, 2020
Merged

Converted package.sh and zip.sh to Javascript files.#219
umeshp7 merged 7 commits intopostmanlabs:developfrom
sastava007:bash/package-zip

Conversation

@sastava007
Copy link
Contributor

What this PR does
This PR converts the package.shand zip.sh bash script file to javascript making it the platform agnostic. This PR is last in the series of PRs trying to solve issue #174

Changes you made
Converted the bash commands into it's closely equivalent JS commands using shellJS npm package.

Screenshot/ CodeSnippet
Not required

Test Configuration:
Tried to test locally for various codegens by running npm package <codegen-name> and comparing the result obtained with that generated from the similar bash script.

Follow up
Not required

Thanks for contributing! ❤️

@sastava007
Copy link
Contributor Author

@umeshp7 Can you please review?

@sastava007
Copy link
Contributor Author

sastava007 commented Mar 19, 2020

@umeshp7 @shreys7
Have updated, please look.

@umeshp7
Copy link
Contributor

umeshp7 commented Mar 23, 2020

@sastava007 Hey, I ran the scripts locally, and firstly I could find many lint errors. Can you please rebase with the recent develop and fix those. (Recent develop will have linting for root files as well)

Also, remove { silent: true } from every where.

Everything else looks good 👍.

@sastava007
Copy link
Contributor Author

@umeshp7 Have fixed everything as you said, please have a look.

@umeshp7 umeshp7 merged commit 72dd928 into postmanlabs:develop Mar 26, 2020
someshkoli pushed a commit to someshkoli/postman-code-generators that referenced this pull request Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants