-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathMakefile
70 lines (61 loc) · 1.32 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
ICED=node_modules/.bin/iced
BUILD_STAMP=build-stamp
TEST_STAMP=test-stamp
UGLIFYJS=node_modules/.bin/uglifyjs
WD=`pwd`
BROWSERIFY=node_modules/.bin/browserify
default: build
all: build
lib/%.js: src/%.iced
$(ICED) -I browserify -c -o `dirname $@` $<
$(BUILD_STAMP): \
lib/alloc.js \
lib/alloc3.js \
lib/announcement.js \
lib/auth.js \
lib/base.js \
lib/b64extract.js \
lib/constants.js \
lib/cryptocurrency.js \
lib/device.js \
lib/eldest.js \
lib/errors.js \
lib/expand.js \
lib/main.js \
lib/parse3.js \
lib/revoke.js \
lib/schema3.js \
lib/sibkey.js \
lib/sig3.js \
lib/subkey.js \
lib/per_user_key.js \
lib/pgp_update.js \
lib/scrapers/base.js \
lib/scrapers/coinbase.js \
lib/scrapers/dns.js \
lib/scrapers/facebook.js \
lib/scrapers/generic_web_site.js \
lib/scrapers/github.js \
lib/scrapers/hackernews.js \
lib/scrapers/reddit.js \
lib/scrapers/twitter.js \
lib/scrapers/generic_social.js \
lib/team.js \
lib/team_hidden.js \
lib/track.js \
lib/wallet.js \
lib/web_service.js \
lib/wot.js \
lib/update_passphrase_hash.js \
lib/update_settings.js \
lib/util.js
date > $@
build: $(BUILD_STAMP)
test-server: $(BUILD_STAMP)
$(ICED) test/run.iced
test: test-server
clean:
rm -rf lib/* lib/scrapers/* $(BUILD_STAMP) $(TEST_STAMP)
setup:
npm install -d
.PHONY: clean setup test test-browser