-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·41 lines (36 loc) · 858 Bytes
/
Makefile
File metadata and controls
executable file
·41 lines (36 loc) · 858 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
all:
for d in $$(ls packages/*/Makefile | sed 's|/Makefile||g') ; do \
cd $${d}; \
make || exit 1; \
cd -; \
done
clean:
for d in $$(ls packages/*/Makefile | sed 's|/Makefile||g') ; do \
cd $${d}; \
make clean || exit 1; \
cd -; \
done
publish:
for d in $$(ls packages/*/package.json | sed 's|/package.json||g') ; do \
cd $${d}; \
npm publish; \
cd -; \
done
test:
for d in $$(ls packages/*/Makefile | sed 's|/Makefile||g') ; do \
cd $${d}; \
make test || exit 1; \
cd -; \
done
updatelibs:
grep 'path =' .gitmodules | \
awk '{print $$3}' | \
grep -vP '^lib/legacy/' | \
grep -vP '^lib/pqclean$$' | \
xargs git submodule update --remote
for d in $$(ls packages/*/package.json | sed 's|/package.json||g') ; do \
cd $${d}; \
rm -rf node_modules package-lock.json; \
npm install || exit 1; \
cd -; \
done