summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-23 01:29:34 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-23 01:33:39 +0100
commit8c5a794cc86270f89ab789c4d717c3e755f00b82 (patch)
treee520737c536f663e96f3b8065831988ebc33899f /Makefile
parent899c0027f9c85bde1d807e777b38ebeaddec8f8a (diff)
downloadwallet-core-8c5a794cc86270f89ab789c4d717c3e755f00b82.tar.gz
wallet-core-8c5a794cc86270f89ab789c4d717c3e755f00b82.tar.bz2
wallet-core-8c5a794cc86270f89ab789c4d717c3e755f00b82.zip
update configure/makefilev0.2.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index b5e194054..e2cd5e169 100644
--- a/Makefile
+++ b/Makefile
@@ -6,18 +6,21 @@ gulp = node_modules/gulp/bin/gulp.js
tsc = node_modules/typescript/bin/tsc
po2json = node_modules/po2json/bin/po2json
-.PHONY: pogen src/i18n/strings.js
+.PHONY: pogen src/i18n/strings.js yarn-install
-package-stable: tsc i18n
+package-stable: tsc i18n yarn-install
$(gulp) package-stable
-package-unstable: tsc i18n
+package-unstable: tsc i18n yarn-install
$(gulp) package-unstable
-tsc: tsconfig.json
+tsc: tsconfig.json yarn-install
$(tsc)
-tsconfig.json: gulpfile.js
+yarn-install:
+ yarn install
+
+tsconfig.json: gulpfile.js yarn-install
$(gulp) tsconfig
i18n: pogen msgmerge src/i18n/strings.js
@@ -25,7 +28,7 @@ i18n: pogen msgmerge src/i18n/strings.js
pogen/pogen.js: pogen/pogen.ts pogen/tsconfig.json
cd pogen; ../$(tsc)
-pogen: $(ts) pogen/pogen.js
+pogen: $(ts) pogen/pogen.js yarn-install
find $(src) \( -name '*.ts' -or -name '*.tsx' \) ! -name '*.d.ts' \
| xargs node pogen/pogen.js \
| msguniq \
@@ -41,9 +44,6 @@ msgmerge:
dist:
$(gulp) srcdist
-appdist:
- $(gulp) appdist
-
src/i18n/strings.js: # $(ts)
cp src/i18n/strings-prelude.js src/i18n/strings.js
for pofile in src/i18n/*.po; do \