tweak build system

This commit is contained in:
Florian Dold 2019-08-19 14:10:51 +02:00
parent 10df69131f
commit 8f899beb4c
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 10 additions and 15 deletions

View File

@ -11,21 +11,17 @@ tslint = node_modules/tslint/bin/tslint
-include config.mk -include config.mk
.PHONY: package-stable
package-stable: i18n
$(gulp) stable
.PHONY: package-unstable
package-unstable: i18n
$(gulp) unstable
.PHONY: tsc .PHONY: tsc
tsc: tsconfig.json yarn-install tsc: tsconfig.json yarn-install
$(tsc) $(tsc)
.PHONY: yarn-install .PHONY: webex-stable
yarn-install: webex-stable: i18n
yarn install $(gulp) stable
.PHONY: webex-unstable
webex-unstable: i18n
$(gulp) unstable
tsconfig.json: gulpfile.js yarn-install tsconfig.json: gulpfile.js yarn-install
$(gulp) tsconfig $(gulp) tsconfig
@ -41,7 +37,7 @@ typedoc:
.PHONY: clean .PHONY: clean
clean: clean:
rm -rf dist/ rm -rf dist/ config.mk
.PHONY: check .PHONY: check
check: tsc yarn-install check: tsc yarn-install
@ -83,4 +79,3 @@ install:
npm install -g --prefix $(prefix) . npm install -g --prefix $(prefix) .
endif endif

4
README
View File

@ -25,14 +25,14 @@ https://git.taler.net/libtalerutil-emscripten.git/
Building from source (Web Extension) Building from source (Web Extension)
====================================== ======================================
Run `./configure && make' to create an archive Run `./configure && make webex-stable' to create an archive
containing the extension in ./build/taler-wallet-$VERSION.zip containing the extension in ./build/taler-wallet-$VERSION.zip
Building from source (Node.JS) Building from source (Node.JS)
====================================== ======================================
Run `./configure && make tsc' to build the wallet. The command line Run `./configure && make' to build the wallet. The command line
interface for the wallet is available in `./bin/taler-wallet-cli'. interface for the wallet is available in `./bin/taler-wallet-cli'.