-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
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 .", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"start": "dotenv -e .env -- yarn electron .", | |
"start": "yarn electron .", | |
"dev": "dotenv -e .env -- yarn start", |
There was a problem hiding this comment.
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
There was a problem hiding this 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" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure thing
Trello Ticket : https://trello.com/c/8sADgND3/1992-add-binary-download-step-to-yarn-build-sarthak
Description: add download binaries script.