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

Run native linker only if project was changed #372

Merged
merged 2 commits into from
Nov 16, 2021

Conversation

lwronski
Copy link
Contributor

@lwronski lwronski commented Nov 15, 2021

closes #281

To avoid long waiting for executing linker, we calculate the sha of the project, and only when something has changed we run a linker.
We count sha for the following variable:

  • output (was changed or deleted)
  • native config
  • all files in the project
  • build options
  • ScalaCLI version

@lwronski lwronski force-pushed the scala-native-sha1 branch 2 times, most recently from a204d22 to 0053f0d Compare November 15, 2021 14:27
@lwronski lwronski marked this pull request as ready for review November 15, 2021 14:46
@lwronski lwronski merged commit 99b5516 into VirtusLab:master Nov 16, 2021
@lwronski lwronski deleted the scala-native-sha1 branch January 11, 2022 18: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.

Native scripts run linker each time
2 participants