mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Cleaned up formating and fixed typos.
This commit is contained in:
parent
1594925c41
commit
208d33d3f4
|
|
@ -120,7 +120,7 @@ if(CMAKE_HOST_WIN32)
|
||||||
"ReadMe.txt" "Network Implementation Notes.txt" # Extra.
|
"ReadMe.txt" "Network Implementation Notes.txt" # Extra.
|
||||||
/XD
|
/XD
|
||||||
"Durango*" "Orbis*" "PS*" "Xbox" # Console data.
|
"Durango*" "Orbis*" "PS*" "Xbox" # Console data.
|
||||||
"sce_sys" "TROPDIR" # Playstation data.
|
"sce_sys" "TROPDIR" # PlayStation data.
|
||||||
"Graphics" "DummyTexturePack" "GameConfig" # Extra.
|
"Graphics" "DummyTexturePack" "GameConfig" # Extra.
|
||||||
)
|
)
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/Windows64/GameHDD")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/Windows64/GameHDD")
|
||||||
|
|
@ -132,31 +132,45 @@ elseif(CMAKE_HOST_UNIX)
|
||||||
message(STATUS "Starting asset copy...")
|
message(STATUS "Starting asset copy...")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND tar
|
COMMAND tar
|
||||||
"--exclude=*.c" "--exclude=*.cpp" "--exclude=*.h" "--exclude=*.hpp" # Source code.
|
"--exclude=*.c" "--exclude=*.cpp" "--exclude=*.h" "--exclude=*.hpp" # Source code.
|
||||||
"--exclude=*.xui" "--exclude=*.inl" "--exclude=*.asm"
|
"--exclude=*.xui" "--exclude=*.inl" "--exclude=*.asm"
|
||||||
"--exclude=*.vcxproj" "--exclude=*.vcxproj.*" # Project files.
|
|
||||||
"--exclude=*.sln" "--exclude=*.cd"
|
"--exclude=*.vcxproj" "--exclude=*.vcxproj.*" # Project files.
|
||||||
"--exclude=*.xml" "--exclude=*.lang" # Language files.
|
"--exclude=*.sln" "--exclude=*.cd"
|
||||||
"--exclude=*.resx" "--exclude=*.loc"
|
|
||||||
"--exclude=*.docx" "--exclude=*.xls" # Office documents.
|
"--exclude=*.xml" "--exclude=*.lang" # Language files.
|
||||||
"--exclude=*.bat" "--exclude=*.cmd" # Scripts.
|
"--exclude=*.resx" "--exclude=*.loc"
|
||||||
"--exclude=*.ps1" "--exclude=*.py"
|
|
||||||
"--exclude=*.lib" "--exclude=*.lib.*" # Static lib.
|
"--exclude=*.docx" "--exclude=*.xls" # Office documents.
|
||||||
"--exclude=*.swf" "--exclude=*.msscmp" "--exclude=*.wav" # Uncompiled/unused res.
|
|
||||||
"--exclude=*Test*" # Test files. (who could have guessed)
|
"--exclude=*.bat" "--exclude=*.cmd" # Scripts.
|
||||||
"--exclude=MediaPS*" "--exclude=MediaOrbis.arc" # Console media.
|
"--exclude=*.ps1" "--exclude=*.py"
|
||||||
"--exclude=MediaDurango.arc"
|
|
||||||
"--exclude=ReadMe.txt" "--exclude=Network Implementation Notes.txt" # Extra.
|
"--exclude=*.lib" "--exclude=*.lib.*" # Static lib.
|
||||||
|
|
||||||
|
"--exclude=*.swf" "--exclude=*.msscmp" "--exclude=*.wav" # Uncompiled/unused res.
|
||||||
|
|
||||||
|
"--exclude=*Test*" # Test files. (who could have guessed)
|
||||||
|
|
||||||
|
"--exclude=MediaPS*" "--exclude=MediaOrbis.arc" # Console media.
|
||||||
|
"--exclude=MediaDurango.arc"
|
||||||
|
|
||||||
|
"--exclude=ReadMe.txt" "--exclude=Network Implementation Notes.txt" # Extra.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"--exclude=Durango*" "--exclude=Orbis*" # Console data.
|
||||||
|
"--exclude=PS*" "--exclude=Xbox"
|
||||||
|
|
||||||
|
"--exclude=sce_sys" "--exclude=TROPDIR" # PlayStation data.
|
||||||
|
|
||||||
|
"--exclude=Graphics" "--exclude=DummyTexturePack" # Extra.
|
||||||
|
"--exclude=GameConfig"
|
||||||
|
|
||||||
"--exclude=Durango*" "--exclude=Orbis*" # Console data.
|
|
||||||
"--exclude=PS*" "--exclude=Xbox"
|
|
||||||
"--exclude=sce_sys" "--exclude=TROPDIR" # Playstation data.
|
|
||||||
"--exclude=Graphics" "--exclude=DummyTexturePack" # Extra.
|
|
||||||
"--exclude=GameConfig"
|
|
||||||
-cf - -C "${CMAKE_CURRENT_SOURCE_DIR}/Minecraft.Client/" .
|
-cf - -C "${CMAKE_CURRENT_SOURCE_DIR}/Minecraft.Client/" .
|
||||||
COMMAND tar -xvf - -C "${CMAKE_CURRENT_BINARY_DIR}/"
|
COMMAND tar -xvf - -C "${CMAKE_CURRENT_BINARY_DIR}/"
|
||||||
)
|
)
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/Windows64/GameHDD")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/Windows64/GameHDD/")
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "Redist and asset copying is only supported on Windows (Robocopy) and Unix systems (cp, tar).")
|
message(FATAL_ERROR "Redist and asset copying is only supported on Windows (Robocopy) and Unix systems (cp, tar).")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue