Provide dropit command.

This commit is contained in:
Fabian Märki
2015-06-30 11:30:49 +02:00
parent b79d2c5107
commit cf044b2595
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#
#Wed Jun 10 14:12:23 CEST 2015
#Fri Jun 26 16:19:32 CEST 2015
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve

View File

@ -47,4 +47,8 @@ uploadArchives {
pom.artifactId = 'rest'
}
}
}
task dropItQueryREST(dependsOn: build) << {
exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.rest-" + version + ".jar", "http://dropit.psi.ch:8080"; }
}