continue-custom/docs
Joseph Mearman 470711d25b
Update PyInstaller call to detect M1 architecture or allow manual override (#497)
* The shebang must be on the first line. Delete blanks and move comments. See SC1128.

https://github.com/koalaman/shellcheck/wiki/SC1128

* In POSIX sh, 'source' in place of '.' is undefined.

https://github.com/koalaman/shellcheck/wiki/SC2039

* build.sh: Update PyInstaller call to detect M1 architecture or allow manual override

This commit updates the build.sh script to include logic for detecting the M1 architecture or allowing a manual override. The SPEC_FILE variable is set accordingly based on the provided argument ("m1" or "regular") or the system's architecture. This ensures that the correct spec file is used when calling PyInstaller from within the virtual environment. Additionally, a comment is added to clarify each step of the process.

Note: The virtual environment is deactivated at the end of the script.

* build.sh: Add architecture detection and print statements

- Added architecture detection for M1 and regular architectures
- Print statements added to indicate the detected architecture and spec file being used

* Update build script command for M1 Mac in manually-run-continue.md

The build script command for building on an M1 Mac has been updated to `sh build.sh m1` instead of `sh buildm1.sh`. This change ensures that the correct build script is used when building for an M1 Mac.
2023-09-22 18:09:38 -07:00
..
docs Update PyInstaller call to detect M1 architecture or allow manual override (#497) 2023-09-22 18:09:38 -07:00
src docs: 📝 major docs improvements 2023-09-12 00:59:20 -07:00
static updating how continue works 2023-09-12 17:01:48 -07:00
.gitignore copying from old repo 2023-05-23 23:45:12 -04:00
babel.config.js copying from old repo 2023-05-23 23:45:12 -04:00
docusaurus.config.js fix: 🐛 a number of small fixes + disable summaries 2023-09-12 13:27:47 -07:00
netlify.toml adjust for docs/docs issue 2023-06-29 22:12:11 -07:00
package-lock.json redirect for old customization page 2023-09-12 10:45:01 -07:00
package.json redirect for old customization page 2023-09-12 10:45:01 -07:00
README.md READMEs 2023-06-02 21:29:04 -04:00
sidebars.js feat: ✨ refactor via search Step 2023-09-17 12:15:08 -07:00

Continue Docs

Markdown content exists in the docs/ folder, nested as it will be shown in the sidebar. docusaurus.config.js defines important footer, sidebar, and title content for the site.