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:
@@ -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]) ] ;
|
||||
|
||||
Reference in New Issue
Block a user