wallet-core/README

53 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-08-16 23:29:29 +02:00
GNU Taler Wallet
================
2016-04-08 15:20:05 +02:00
2020-08-10 13:32:08 +02:00
This repository contains the implementation of a wallet for GNU Taler written
in TypeScript.
2016-04-08 15:20:05 +02:00
2015-11-25 20:41:31 +01:00
2020-11-04 14:16:28 +01:00
Dependencies
============
In order to build the GNU Taler wallet, make sure that you have Node.JS and pnpm installed.
2020-08-10 13:32:08 +02:00
Installation
2016-03-18 15:47:17 +01:00
============
2020-08-10 13:32:08 +02:00
The CLI version of the wallet supports the normal GNU installation process:
2020-08-10 13:32:08 +02:00
./bootstrap && ./configure [ --prefix=$PREFIX ] && make install
2016-03-18 15:47:17 +01:00
2020-11-04 14:16:28 +01:00
Building the WebExtension
=========================
The WebExtension can be built via the 'webextension' make target:
./bootstrap && ./configure && make webextension
This will create the zip file with the WebExtension in the location
packages/taler-wallet-webextension/taler-wallet-$VERSION.zip
2020-08-10 13:32:08 +02:00
Integration Tests
=================
2016-04-08 15:20:05 +02:00
2020-08-10 13:32:08 +02:00
This repository comes with integration tests for GNU Taler. To run them,
install the wallet first. Then use the test runner from the
taler-integrationtests package:
2016-03-18 15:47:17 +01:00
2020-08-10 13:32:08 +02:00
cd packages/taler-integrationtests/
./testrunner '*'
2016-03-18 15:47:17 +01:00
2020-08-10 13:32:08 +02:00
The test runner accepts a bash glob pattern as parameter. Individual tests can
be run by specifying their name.
2020-09-04 10:43:56 +02:00
To check coverage, use nyc from the root of the repository and make sure that the taler-wallet-cli
from the source tree is executed, and not the globally installed one:
PATH="$PWD/packages/taler-wallet-cli/bin:$PATH" \
nyc ./packages/taler-integrationtests/testrunner '*'