You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker: make possible to only build the engine without committing it to Unvanquished
One can only build the engine without committing it to Unvanquished by doing:
./docker-build --engine-reference=<git_reference> --targets=<engine_target>
The reference for the game is now optional, the current master branch
will be built if not set. The currently committed engine reference for
the game reference will be built if the engine reference is not set.
The repository clone is now complete, instead of doing a shadow clone.
This makes easier to checkout arbitrary commits, and in the future
this will ensure the most recent tag is reachable, to compute the
version string.
Copy file name to clipboardExpand all lines: docker-build
+8-8
Original file line number
Diff line number
Diff line change
@@ -115,8 +115,9 @@ def main():
115
115
parser.add_argument("--clean", dest="clean", help="Delete previous target and universal zip builds.", action="store_true")
116
116
parser.add_argument("--prune", dest="prune", help="Delete all docker images from previous target builds.", action="store_true")
117
117
parser.add_argument("--reimage", dest="reimage", help="Rebuild the system docker images for the targets to build.", action="store_true")
118
-
parser.add_argument("--reference", dest="reference", metavar="REFERENCE", nargs='?', help="Git reference for targets to build.")
119
-
parser.add_argument("--targets", dest="targets", metavar="TARGETS", nargs='+', help="List of targets. Requires a reference. Available targets: {}".format(known_target_option_list))
118
+
parser.add_argument("--reference", dest="reference", metavar="REFERENCE", nargs='?', default="default", help="Git reference for targets to build.")
119
+
parser.add_argument("--engine-reference", dest="engine_reference", metavar="ENGINE_REFERENCE", nargs='?', default="default", help="Git reference for engine targets to build.")
120
+
parser.add_argument("--targets", dest="targets", metavar="TARGETS", nargs='+', help="List of targets. Available targets: {}".format(known_target_option_list))
120
121
parser.add_argument("--unizip", dest="unizip", help="Make an universal zip out of built targets.", action="store_true")
121
122
parser.add_argument("--chown", dest="chown", help="Change ownership of produced files, this option should never be needed as other tasks are expected to do it.", action="store_true")
122
123
parser.add_argument("--docker", dest="docker", metavar="PATH", default="docker", help="Path to the docker binary. Default: %(default)s.")
0 commit comments