-
Notifications
You must be signed in to change notification settings - Fork 3
Linking Wollok TS
Fernando Dodino edited this page Sep 9, 2021
·
10 revisions
Thanks to this article, we can update a local sibling wollok-ts project whenever we want (and not only a released version).
You must clone wollok-ts project in a desired folder.
Now you have to associate wollok-ts as a local library for wollok-linter. Assuming this is the configuration:
- wollok
- wollok-ts
- wollok-linter
You can run a bash script:
wollok-linter > linkWollokTs.sh ../wollok-ts
It will
- install
yalc
as a tool for linking libraries in Node - publish
wollok-ts
as a local library in youryalc
installation - add
wollok-ts
as a local reference inwollok-linter
project
As soon as you change your wollok-ts files, you want this change to be reflected on wollok-linter. Then you only have to run
wollok-ts > yalc push
As a result, it will update the library in the yalc store and it will be used by the wollok-linter as expected.