Skip to content

Commit

Permalink
Adapt build and instructions to datamapper
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Dec 9, 2024
1 parent 0048e1e commit 49241dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main-kaoto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
run: |
yarn
yarn workspace @kaoto/kaoto run build:lib
- name: yarn link private kaoto package
working-directory: vscode-kaoto
run: yarn link ../kaoto/packages/xml-schema-ts --private
- name: yarn link kaoto
working-directory: vscode-kaoto
run: yarn link ../kaoto/packages/ui
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,12 @@ If you'd like to test latest Kaoto and not rely on a released version, follow th
* In `kaoto` local clone folder:
* `yarn`
* `yarn workspace @kaoto/camel-catalog run build`
* `yarn workspace @kaoto/xml-schema-ts run build`
* `yarn workspace @kaoto/kaoto run build:lib`
* Open VS Code on `vscode-kaoto` local clone folder
* `yarn`
* `yarn link` _\<kaoto local clone folder uri>/packages/xml-schema-ts --private
* i.e. `yarn link ~/repositories/kaoto/packages/xml-schema-ts --private`
* `yarn link` _\<kaoto local clone folder uri>/packages/kaoto-_
* i.e. `yarn link ~/repositories/kaoto/packages/ui`
* `yarn build:dev`
Expand All @@ -118,6 +121,8 @@ If you'd like to test latest Kaoto and not rely on a released version, follow th
To return to the default Kaoto version, just write on `vscode-kaoto` local clone folder:
* `yarn unlink` _\<kaoto local clone folder uri>/packages/ui_
* i.e. `yarn unlink ~/repositories/kaoto/packages/ui`
* `yarn unlink` _\<kaoto local clone folder uri>/packages/xml-schema-ts_
* i.e. `yarn unlink ~/repositories/kaoto/packages/xml-schema-ts`

More information about [linking](https://yarnpkg.com/cli/link) and [unlinking](https://yarnpkg.com/cli/unlink) local packages with [yarn](https://yarnpkg.com/)

Expand Down

0 comments on commit 49241dd

Please sign in to comment.