summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-10-14 22:39:12 +0530
committerFlorian Dold <florian.dold@gmail.com>2019-10-14 22:39:12 +0530
commitd79c2777c75b9e5e1d566960e2ed98e1a0e41449 (patch)
tree97fa9d5733cd1584a8004612b4186663aa6cd3a2 /Makefile
parenta76a1ccf8e0d648a354e2354ad5456c8293d4bbc (diff)
downloadwallet-core-d79c2777c75b9e5e1d566960e2ed98e1a0e41449.tar.gz
wallet-core-d79c2777c75b9e5e1d566960e2ed98e1a0e41449.tar.bz2
wallet-core-d79c2777c75b9e5e1d566960e2ed98e1a0e41449.zip
build system
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 622227316..31142ede5 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ ava = node_modules/ava/cli.js
nyc = node_modules/nyc/bin/nyc.js
tslint = node_modules/tslint/bin/tslint
--include config.mk
+include config.mk
.PHONY: tsc
tsc: tsconfig.json yarn-install
@@ -39,10 +39,8 @@ typedoc:
clean:
rm -rf dist/ config.mk
-submodules/init:
- git submodule update --init --recursive
-
-submodules/update:
+.PHONY: submodules-update
+submodules-update:
git submodule update --recursive --remote
.PHONY: check
@@ -59,7 +57,7 @@ lint: tsc yarn-install
.PHONY: yarn-install
yarn-install:
- $(yarnexe) install
+ $(yarn) install
.PHONY: i18n
@@ -89,10 +87,9 @@ else
.PHONY: install
install: tsc
@echo "installing to" $(prefix)
- yarn global add file://$(CURDIR) --prefix $(prefix)
+ $(yarn) global add file://$(CURDIR) --prefix $(prefix)
endif
.PHONY: watch
watch: tsconfig.json
-
./node_modules/.bin/webpack --watch