Added new jam command 'build-remote-repository'.

* build-remote-repository <packages> uploads the given set of packages
  to the server and builds the remote repository
This commit is contained in:
Oliver Tappe
2013-09-14 19:51:09 +02:00
parent 8f3f0ee615
commit af8587ce40
2 changed files with 45 additions and 0 deletions
+10
View File
@@ -66,6 +66,16 @@ rule ProcessCommandLineArguments
}
}
# Copy the given set of local package files to the remote repository
# and create a new version of that remote repository.
case build-remote-repository : {
BuildRemoteHaikuPortsRepository $(JAM_TARGETS[1])
: $(JAM_TARGETS[2-]) ;
JAM_TARGETS = $(JAM_TARGETS[1]) ;
NotFile $(JAM_TARGETS) ;
Always $(JAM_TARGETS) ;
}
# A target starting with "@" is a build profile.
case @* : {
HAIKU_BUILD_PROFILE = [ Match "@(.*)" : $(JAM_TARGETS[1]) ] ;