From e63f59d33e5d583a055e75ac7283f94d28befc97 Mon Sep 17 00:00:00 2001 From: David Richardson Date: Fri, 19 Jul 2024 16:08:20 -0600 Subject: [PATCH] Update source code installation to reflex new `jake dist` task --- README.markdown | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.markdown b/README.markdown index 0fd43e678..c5df05c7e 100644 --- a/README.markdown +++ b/README.markdown @@ -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.