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

chore: use the multiplexer for the playground #58

Merged
merged 4 commits into from
Jan 4, 2022

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Jan 4, 2022

🧭 What and Why

Replace all the script in package.json by yarn docker playground javascript search using the common multiplexer script.
It is not intended to be used with all but it's possible anyway.

Changes included:

  • Use the common script.

🧪 Test

yarn docker playground java

@millotp millotp self-assigned this Jan 4, 2022
@millotp millotp requested a review from shortcuts January 4, 2022 16:25
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.

Small question, but cool addition!

Comment on lines +10 to +11
lang=$1
client=$2
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nothing will break if you run all playground at the same time, it will just look ugly, It's possible to block it like this but not sure if it's necessary

Copy link
Member

Choose a reason for hiding this comment

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

Yep but what I meant is it's not intended to run all of them

shortcuts
shortcuts previously approved these changes Jan 4, 2022
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.

(Wanted to approved but clicked comment)

shortcuts
shortcuts previously approved these changes Jan 4, 2022
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.

@@ -19,6 +19,12 @@ CMD=$1
LANGUAGE=$2
CLIENT=$3

if [[ $CMD == "./scripts/playground.sh" ]] && [[ $LANGUAGE == "all" ]] || [[ $CLIENT == "all" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if [[ $CMD == "./scripts/playground.sh" ]] && [[ $LANGUAGE == "all" ]] || [[ $CLIENT == "all" ]]; then
if [[ $CMD == "./scripts/playground.sh" && $LANGUAGE == "all" ]] || [[ $CLIENT == "all" ]]; then

I believe it should be

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 did it with parentheses

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