Skip to content

Commit afef78c

Browse files
authored
Merge pull request #17 from EonTechnology/master
Build with Maven
2 parents a7b641f + 6b3a02e commit afef78c

File tree

8 files changed

+159
-313
lines changed

8 files changed

+159
-313
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
out/*
1+
out/*
2+
3+
# Maven
4+
target/

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ As an alternative, the nonce can be omitted from the SecretBox() call, and passe
6666

6767
In top directory:
6868

69-
$ mkdir out
70-
$ javac -d out src/com/iwebpp/crypto/*.java src/com/iwebpp/crypto/tests/*.java
71-
$ java -cp out com.iwebpp.crypto.tests.TweetNaclTest
72-
$ java -cp out com.iwebpp.crypto.tests.TweetNaclFastTest
69+
$ mvn test
7370

7471

7572
### Support us

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.iwebpp.crypto</groupId>
6+
<artifactId>tweetnacl-java</artifactId>
7+
<version>1.1.2-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>tweetnacl-java</name>
11+
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
</properties>
15+
16+
<dependencies>
17+
<dependency>
18+
<groupId>junit</groupId>
19+
<artifactId>junit</artifactId>
20+
<version>4.12</version>
21+
<scope>test</scope>
22+
</dependency>
23+
</dependencies>
24+
</project>
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.iwebpp.crypto.tests;
1+
package com.iwebpp.crypto;
22

33
public final class Log {
44

0 commit comments

Comments
 (0)