forked from nokia/ts-serialize-closures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (22 loc) · 814 Bytes
/
Makefile
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
SHELL := /bin/bash
.PHONY: all clean publish
all:
pushd serialize-closures; npm run build; popd
pushd ts-closure-transform; npm run build; popd
install:
pushd serialize-closures; npm i; popd
pushd ts-closure-transform; npm i; popd
test:
pushd serialize-closures; npm test; popd
pushd ts-closure-transform; npm test; popd
clean:
rm -rf serialize-closures/dist
rm -rf ts-closure-transform/dist
rm -rf serialize-closures/src/*.js
rm -rf ts-closure-transform/src/*.js
publish:
pushd serialize-closures; npm version patch && npm publish; popd
pushd ts-closure-transform; npm version patch && npm publish; popd
publish-prerelease:
pushd serialize-closures; npm version prerelease --preid=next && npm publish; popd
pushd ts-closure-transform; npm version prerelease --preid=next && npm publish; popd