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(psalm): Allow to have psalm command with multi-thread support #470

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

nickvergessen
Copy link
Member

Following the server repo, this allows all apps to deduplicate:

		"psalm": "psalm --threads=1",
		"psalm:dev": "psalm --no-cache --threads=$(nproc)",

psalm exists in all apps, so that's what most devs run first, but if it's single thread it can be very slow.
With this change, CI will overwrite it to be single thread but the default dev environment will still use all threads and you don't need to memorize which app requires you to run psalm or psalm:dev for it.

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen merged commit cc0cd19 into master Dec 11, 2024
5 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/better-psalm branch December 11, 2024 22:25
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