Skip to content

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

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

Merged
merged 7 commits into from
Mar 26, 2020

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