blob: 32d8bed2685b0921dd2eb5a2a3cccb7182869ca7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
## Setup:
#############
in wallet-core/packages/taler-util directory run:
# make install
it will create the directory `$PREFIX/share/taler-js/taler-util`
then in this project run
# ./configure --prefix=$PREFIX
default value of PREFIX is /usr/share
# Testing:
############
Now there should be a symlink to the prefix folder.
All project under that folder should be findable usinb 'workspace:*'.
Running
# make && make test
should show a message from a local workspace dependecy and
also be able to use taler-util from the external directory.
# Drawbacks:
#############
Everything under `install-prefix` workspace is included when
excuting a script in recursive mode. So this will fail:
# pnpm run -r compile
because it will try to compile things in $PREFIX directory.
It can be workaround with
# pnpm run --filter "./packages/*" <command>
# pnpm run -r --filter "!./install-prefix/**" <command>
|