-
Notifications
You must be signed in to change notification settings - Fork 4
How does this tool work?
Evan Ugarte edited this page Jan 17, 2022
·
3 revisions
This tool is interested in:
- making sce services as simple as possible to run
- cloning and setting up sce projects on a users computer
- running tests (e.g. api test, linting) on projects to help users verify code functionality
Upon successful installation of this tool, users can run commands with the sce
prefix:
The magic of this varies depending on the OS. Below explains the differences across each.
On Windows, the sce
tool compiles itself into an executable file with CX_Freeze. We the add the path of the executable to the Windows user's path so it can be accessed from within the command line. The code to add the Windows alias is in tools/setup.py:105
For more information on how CX_Freeze works check out this page.
When the user runs setup (steps are in README.md), the command adds itself as an alias in either .zshrc
or .bashrc
for Mac or Linux respectively. The code to handle adding the alias is in tools/setup.py:94