Skip to content
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

fix: improve script consistancy and format #100

Merged
merged 7 commits into from
Jan 24, 2022
Merged

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Jan 21, 2022

🧭 What and Why

The specs were kind of all over the place, this fixes the naming or global variables, simplify some scripts and add a common formatting script used by the client generation and the CTS.

🧪 Test

CI

@millotp millotp requested a review from a team January 21, 2022 11:37
@millotp millotp self-assigned this Jan 21, 2022
@millotp millotp requested review from eunjae-lee and removed request for a team January 21, 2022 11:37
@millotp millotp mentioned this pull request Jan 21, 2022
@millotp millotp requested a review from shortcuts January 21, 2022 12:38
@millotp millotp force-pushed the fix/consistant-script branch from 586a07d to 5687a1c Compare January 21, 2022 12:44
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, looks nice!

package.json Outdated Show resolved Hide resolved
tests/package.json Outdated Show resolved Hide resolved
@@ -4,11 +4,11 @@ BASE_CHANGED=$1
BASE_BRANCH=$2

specs='{"client":[]}'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be capitalized

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to only capitalize global constants, and this is a variable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But where does the SPECS L11 come from?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok there is an issue here good catch

scripts/formatter.sh Outdated Show resolved Hide resolved
@millotp millotp requested a review from shortcuts January 21, 2022 14:49
@millotp millotp requested a review from damcou January 24, 2022 08:57
Copy link
Contributor

@damcou damcou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go 🚀

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.

3 participants