mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Update source code installation to reflex new jake dist task
This commit is contained in:
+6
-5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user