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

feat: Add IntelliJ IDEA Run Configurations #8

Merged
merged 8 commits into from
Apr 22, 2022

Conversation

JeremyEastham
Copy link
Contributor

  • Add "Load Modules" run configuration for ./loadModules
  • Add "Run All Tests" run configuration for ./startTestingEnv
  • Add "Start Testing Environment" run configuration for ./startTestingEnv --wait
  • Update messages echoed by the startTestingEnv script

Note: For Windows compatibility, these scripts are added as Script Text in the Shell run configuration type, since using a *nix path in the Script File type causes an error, but runs fine using Git Bash or WSL

- Add "Load Modules" run configuration for `./loadModules`
- Add "Run All Tests" run configuration for `./startTestingEnv`
- Add "Start Testing Environment" run configuration for `./startTestingEnv --wait`
@JeremyEastham JeremyEastham marked this pull request as ready for review April 17, 2022 00:55
@rishabhpoddar
Copy link
Member

What do the .xml files do?

@JeremyEastham
Copy link
Contributor Author

Each of these files corresponds to an IntelliJ IDEA Run Configuration. These add options to the Run drop-down next to the Play button in the top-right of the IntelliJ GUI. When the scripts are run in this way, the output is shown in the IntelliJ Integrated Terminal. The Terminal functions just like a console window, but each run gets its own tab. This means that a separate console window is no longer needed, since everything can be done from IntelliJ.

@JeremyEastham
Copy link
Contributor Author

What is the purpose of the startDevEnv script? I should probably add another configuration to run that script as well.

I am also working on a script that simply runs the core.

@rishabhpoddar
Copy link
Member

What is the purpose of the startDevEnv script?

I have removed this script from the master branch as it's not needed. Thanks for pointing this out.

I am also working on a script that simply runs the core.

Ah! Awesome!

.idea/runConfigurations.xml Outdated Show resolved Hide resolved
utils/setupTestEnvLocal Show resolved Hide resolved
@rishabhpoddar rishabhpoddar merged commit c2ec044 into supertokens:master Apr 22, 2022
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.

None yet

2 participants