Permalink
Browse files

Java-ize echo module

  • Loading branch information...
alexarchambault committed May 15, 2017
1 parent 4f0b26d commit 12e9ca3e087e1d124f462290605b361cb5414264
Showing with 24 additions and 7 deletions.
  1. +1 −1 build.sbt
  2. +22 −0 echo/src/main/java/coursier/echo/Echo.java
  3. +0 −5 echo/src/main/scala/coursier/echo/Echo.scala
  4. +1 −1 scripts/travis.sh
View
@@ -235,7 +235,7 @@ lazy val okhttp = project
)
lazy val echo = project
.settings(shared)
.settings(pureJava)
lazy val jvm = project
.dummy
@@ -0,0 +1,22 @@
package coursier.echo;
public class Echo {
public static void main(String[] args) {
boolean isFirst = true;
for (String arg : args) {
if (isFirst)
isFirst = false;
else
System.out.print(" ");
System.out.print(arg);
}
System.out.println();
}
}

This file was deleted.

Oops, something went wrong.
View
@@ -181,7 +181,7 @@ publish() {
testBootstrap() {
if is211; then
sbt ++${SCALA_VERSION} echo/publishLocal cli/pack
cli/target/pack/bin/coursier bootstrap -o cs-echo io.get-coursier:echo_2.11:1.0.0-SNAPSHOT
cli/target/pack/bin/coursier bootstrap -o cs-echo io.get-coursier:echo:1.0.0-SNAPSHOT
if [ "$(./cs-echo foo)" != foo ]; then
echo "Error: unexpected output from bootstrapped echo command." 1>&2
exit 1

0 comments on commit 12e9ca3

Please sign in to comment.