-
Notifications
You must be signed in to change notification settings - Fork 63
/
Makefile
98 lines (89 loc) · 3.78 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
FOAM2_HOME ?= .
foam2_SRC_DIR = src
foam2_CLASSES = tools/classes.js
# Format for dependencies from maven is
# <groupId>:<artifactId>:<version>
foam2_MAVEN_DEPS = \
javax.json:javax.json-api:1.0 \
javax.mail:javax.mail-api:1.6.2 \
com.sun.mail:imap:1.6.3 \
javax.servlet:javax.servlet-api:3.1.0 \
javax.websocket:javax.websocket-api:1.1 \
javax.ws.rs:javax.ws.rs-api:2.0 \
jstl:jstl:1.2 \
org.apache.commons:commons-text:1.1 \
org.apache.commons:commons-dbcp2:2.0.1 \
org.apache.commons:commons-pool2:2.6.2 \
org.apache.commons:commons-lang3:3.6 \
commons-collections:commons-collections:3.2.2 \
org.apache.httpcomponents:httpcore:4.4.10 \
org.apache.httpcomponents:httpclient:4.5.6 \
commons-codec:commons-codec:1.11 \
commons-io:commons-io:2.6 \
org.apache-extras.beanshell:bsh:2.0b6 \
com.google.api-client:google-api-client:1.30.9 \
com.google.oauth-client:google-oauth-client:1.30.6 \
com.google.oauth-client:google-oauth-client-java6:1.30.6 \
com.google.oauth-client:google-oauth-client-jetty:1.30.6 \
com.google.http-client:google-http-client:1.34.2 \
com.google.http-client:google-http-client-jackson2:1.34.2 \
com.google.apis:google-api-services-sheets:v4-rev578-1.22.0 \
com.google.apis:google-api-services-drive:v3-rev72-1.22.0 \
org.jtwig:jtwig-core:5.86.1.RELEASE \
org.mongodb:mongodb-driver:3.4.2 \
org.mongodb:mongodb-driver-core:3.4.2 \
org.mongodb:bson:3.4.2 \
org.postgresql:postgresql:42.0.0 \
com.authy:authy-java:1.1.0 \
org.bouncycastle:bcpkix-jdk15on:1.57 \
org.bouncycastle:bcprov-jdk15on:1.57 \
org.java-websocket:Java-WebSocket:1.3.7 \
com.twilio.sdk:twilio:7.50.1 \
org.eclipse.jetty:jetty-alpn-conscrypt-server:9.4.30.v20200611 \
org.eclipse.jetty:jetty-alpn-java-server:9.4.30.v20200611 \
org.eclipse.jetty:jetty-alpn-openjdk8-server:9.4.30.v20200611 \
org.eclipse.jetty:jetty-alpn-server:9.4.30.v20200611 \
org.eclipse.jetty:jetty-annotations:9.4.30.v20200611 \
org.eclipse.jetty:jetty-client:9.4.30.v20200611 \
org.eclipse.jetty:jetty-continuation:9.4.30.v20200611 \
org.eclipse.jetty:jetty-deploy:9.4.30.v20200611 \
org.eclipse.jetty:jetty-hazelcast:9.4.30.v20200611 \
org.eclipse.jetty:jetty-http:9.4.30.v20200611 \
org.eclipse.jetty:jetty-infinispan:9.4.30.v20200611 \
org.eclipse.jetty:jetty-io:9.4.30.v20200611 \
org.eclipse.jetty:jetty-jaas:9.4.30.v20200611 \
org.eclipse.jetty:jetty-jaspi:9.4.30.v20200611 \
org.eclipse.jetty:jetty-jmx:9.4.30.v20200611 \
org.eclipse.jetty:jetty-jndi:9.4.30.v20200611 \
org.eclipse.jetty:jetty-nosql:9.4.30.v20200611 \
org.eclipse.jetty:jetty-plus:9.4.30.v20200611 \
org.eclipse.jetty:jetty-proxy:9.4.30.v20200611 \
org.eclipse.jetty:jetty-quickstart:9.4.30.v20200611 \
org.eclipse.jetty:jetty-rewrite:9.4.30.v20200611 \
org.eclipse.jetty:jetty-security:9.4.30.v20200611 \
org.eclipse.jetty:jetty-server:9.4.30.v20200611 \
org.eclipse.jetty:jetty-servlet:9.4.30.v20200611 \
org.eclipse.jetty:jetty-servlets:9.4.30.v20200611 \
org.eclipse.jetty:jetty-unixsocket:9.4.30.v20200611 \
org.eclipse.jetty:jetty-util:9.4.30.v20200611 \
org.eclipse.jetty:jetty-webapp:9.4.30.v20200611 \
org.eclipse.jetty:jetty-xml:9.4.30.v20200611 \
org.eclipse.jetty.websocket:websocket-api:9.4.30.v20200611 \
org.eclipse.jetty.websocket:websocket-common:9.4.30.v20200611 \
org.eclipse.jetty.websocket:websocket-server:9.4.30.v20200611 \
org.eclipse.jetty.websocket:websocket-servlet:9.4.30.v20200611 \
com.google.guava:guava:23.6-jre \
com.google.appengine:appengine-api-1.0-sdk:1.9.24 \
io.methvin:directory-watcher:0.9.10
java_JARS = foam2
include build-aux/tools.mk
include build-aux/java.mk
nanos: nanos.in $(foam2_JAR)
sed -e 's,@CLASSPATH[@],$(foam2_CLASSPATH):$(abspath $(foam2_JAR)),g' $< > $@
chmod +x $@
all: nanos
.PHONY: run
run: nanos $(foam2_JAR)
./$< -d --datadir src
test: nanos $(foam2_JAR)
./$< -t --datadir src