OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
Loading...
Searching...
No Matches
vendor_check Namespace Reference

Functions

 main ()

Variables

 ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

Detailed Description

Checks that the files copied from CoD2rev-Plus are byte-for-byte unchanged.

    python3 scripts/vendor_check.py <cod2rev_plus_checkout> [--rev REV]

Compares every path in test/vendored_files.txt (one per line, # comments) with
'git show <rev>:<path>' in the CoD2rev-Plus checkout. The revision defaults to
the one named by the list's "# revision: <rev>" line. Prints 'ok <path>' or
'DIFF <path>' and exits with 0 when every file is identical.

Function Documentation

◆ main()

vendor_check.main ( )

Variable Documentation

◆ ROOT

vendor_check.ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))