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

Tools: reference dist in team-gen-benchmark script #10777

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DieterReinert
Copy link
Contributor

@DieterReinert DieterReinert commented Dec 31, 2024

This PR addresses #10644.

Developers just need to run node build to rebuild the dist folder whenever the .ts files in sim/ change.

Other Considerations

  • Add a watch script to rebuild when .ts files change.
    • npx tsc --watch
  • Convert the script itself to TypeScript & compile it with tsc.
  • Convert the script itself to TypeScript & use ts-node + nodemon.

…loses smogon#10644)

This PR addresses [smogon#10644](smogon#10644).

Developers just need to run `node build` to rebuild the `dist` folder whenever the `.ts` files in `sim/` change.

## Other Considerations
- Add a watch script to rebuild when ``.ts`` changes.
- Convert the script itself to TypeScript & compile it with ``tsc``.
- Convert the script itself to TypeScript & use ``ts-node``  + ``nodemon``.
@DieterReinert DieterReinert changed the title tools: reference dist/ folder in team-generation-benchmark script (… tools: reference dist/ folder in team-generation-benchmark script Dec 31, 2024
@DieterReinert DieterReinert changed the title tools: reference dist/ folder in team-generation-benchmark script Tools: reference dist in team-gen-benchmark script Dec 31, 2024
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.

1 participant