Update source code installation to reflex new jake dist task

This commit is contained in:
David Richardson
2024-07-19 16:08:20 -06:00
parent 3702c18df5
commit e63f59d33e
+6 -5
View File
@@ -102,16 +102,17 @@ To build from source, do:
2. `cd cappuccino`
3. `npm install`
4. Make any desired changes to the codebase.
3. `npm install`. Cappuccino source currently uses the release distribution from npm to bootstrap the toolchain.
5. Make sure the environment variable `CAPP_BUILD` is set. This is done by adding the line
4. Make sure the environment variable `CAPP_BUILD` is set. This is done by adding the line
```bash
export CAPP_BUILD="/path/to/cappuccino/build/directory"
```
to your `.zshrc` or equivalent config file and of course changing the path to where you want to build Cappuccino.
6. Run `jake install` to build and install Cappuccino.
5. Run `jake build` to build Cappuccino.
6. Run `jake dist` to install the toolchain, as just compiled from source. This step may require elevated permissions.
Beware that building and installing Cappuccino from source will overwrite the binaries installed from npm. To undo this,
simply run `npm install -g @objj/cappuccino` again.