Skip to content

Commit ea3420f

Browse files
committed
Runtimes: rename Core/core to Core/Core (uppercase C) so it appears...
higher in case sensitive directory listings (like GitHub). This will ease checking for stdlib code on small screens without needing to scroll. Addresses rdar://164195263
1 parent a6cae4a commit ea3420f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Runtimes/Core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ add_subdirectory(Demangling)
206206
add_subdirectory(Threading)
207207
add_subdirectory(runtime)
208208
add_subdirectory(stubs)
209-
add_subdirectory(core)
209+
add_subdirectory(Core)
210210
if(SwiftCore_ENABLE_COMMANDLINE_SUPPORT)
211211
add_subdirectory(CommandLineSupport)
212212
endif()
File renamed without changes.

Runtimes/Resync.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ set(CoreLibs
8686
CompatibilityOverride
8787
stubs
8888
CommandLineSupport
89-
core
9089
SwiftOnoneSupport
9190
RemoteInspection
9291
SwiftRemoteMirror
@@ -97,6 +96,10 @@ foreach(library ${CoreLibs})
9796
copy_library_sources(${library} "public" "Core")
9897
endforeach()
9998

99+
# copying Core/core separately, so we can amend the case of the target folder
100+
# on case sensitive file systems
101+
copy_library_sources("" "public/core" "Core/Core")
102+
100103
message(STATUS "plist[${StdlibSources}/Info.plist.in] -> Core/Info.plist.in")
101104
copy_files("" "Core" FILES "Info.plist.in")
102105

0 commit comments

Comments
 (0)