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

add download binaries script #243

Merged
merged 3 commits into from
Jul 26, 2024
Merged

add download binaries script #243

merged 3 commits into from
Jul 26, 2024

Conversation

SarthakDev12
Copy link
Collaborator

Trello Ticket : https://trello.com/c/8sADgND3/1992-add-binary-download-step-to-yarn-build-sarthak

Description: add download binaries script.

package.json Outdated
@@ -52,9 +51,10 @@
"install:backend": "poetry install --no-root",
"install:frontend": "cd frontend && yarn",
"lint:frontend": "cd frontend && yarn lint",
"start": "electron .",
"start": "dotenv -e .env -- yarn electron .",
Copy link
Collaborator

@truemiller truemiller Jul 24, 2024

Choose a reason for hiding this comment

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

Suggested change
"start": "dotenv -e .env -- yarn electron .",
"start": "yarn electron .",
"dev": "dotenv -e .env -- yarn start",

Copy link
Collaborator

Choose a reason for hiding this comment

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

seperating these as I'm not sure how it will function in production mode for now; in production the envs are passed as expected. it's mostly dev where there are discrepancies around env variables

Copy link
Collaborator

@truemiller truemiller left a comment

Choose a reason for hiding this comment

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

please also add dotenv-cli to devDependencies too

yarn add --dev dotenv-cli

package.json Outdated
"start:frontend": "cd frontend && yarn start",
"test:frontend": "cd frontend && yarn test"
"test:frontend": "cd frontend && yarn test",
"download-binaries": "sh download_binaries.sh x64"
Copy link
Collaborator

Choose a reason for hiding this comment

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

apologies @SarthakDev12, could you please make this download both binaries?
x64 and the arm64 variant too?
fine to run curl twice here, and remove the x64 from the script

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure thing

@SarthakDev12 SarthakDev12 changed the base branch from main to staging July 26, 2024 08:59
@SarthakDev12 SarthakDev12 merged commit f60616c into staging Jul 26, 2024
4 checks passed
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.

4 participants