Merge pull request #719 from coursier/topic/remove-echo

Remove echo project
This commit is contained in:
Alexandre Archambault 2017-12-27 01:08:55 +01:00 committed by GitHub
commit 0cba087fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 29 deletions

View File

@ -302,9 +302,6 @@ lazy val okhttp = project
libs += Deps.okhttpUrlConnection
)
lazy val echo = project
.settings(pureJava)
lazy val jvm = project
.dummy
.aggregate(
@ -323,8 +320,7 @@ lazy val jvm = project
`sbt-launcher`,
doc,
`http-server`,
okhttp,
echo
okhttp
)
.settings(
shared,
@ -384,7 +380,6 @@ lazy val coursier = project
`sbt-launcher`,
web,
doc,
echo,
`http-server`,
okhttp
)

View File

@ -1,22 +0,0 @@
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();
}
}

View File

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