Reintroduce jam rule for creating remote repository for testing.
* 'jam build-remote-test-repository' can now be used to create a remote repository which will then be used by the build system, such that the resulting package set can be tested.
This commit is contained in:
@@ -76,6 +76,17 @@ rule ProcessCommandLineArguments
|
||||
Always $(JAM_TARGETS) ;
|
||||
}
|
||||
|
||||
# Copy the given set of local package files to the remote repository
|
||||
# and create a new version of that remote repository (useful for
|
||||
# testing the package repository before pushing).
|
||||
case build-remote-test-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