Add MPQ verify modes, harden CI assertions, fix CRLF/docstring
CI / build-and-smoke (push) Failing after 31s
CI / build-and-smoke (push) Failing after 31s
- mpqpack gains --list and --cat (StormLib-backed) for reading archives back - CI now asserts the archive lists the expected file and that version substitution landed inside the MPQ, not just that a file exists - Dockerfile strips CRLF from entrypoint/package so local Windows builds work - drop invalid escape in package.py docstring
This commit is contained in:
+3
-1
@@ -37,6 +37,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
COPY --from=build /usr/local/bin/mpqpack /usr/local/bin/mpqpack
|
||||
COPY package.py /opt/mpq-packager/package.py
|
||||
COPY entrypoint.sh /opt/mpq-packager/entrypoint.sh
|
||||
RUN chmod +x /opt/mpq-packager/entrypoint.sh
|
||||
# Strip any CRLF (Windows checkouts) so the shebang and bash parse correctly.
|
||||
RUN sed -i 's/\r$//' /opt/mpq-packager/entrypoint.sh /opt/mpq-packager/package.py \
|
||||
&& chmod +x /opt/mpq-packager/entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/opt/mpq-packager/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user