Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2020-01-15 18:49:42 +0300
committerJan Kotas <jkotas@microsoft.com>2020-01-15 18:49:42 +0300
commite92e2e6d6ab25a4f5745670e4d08b431c0b4876a (patch)
tree8a17f238293b8db8039987873e849cdf6dadf3b3 /.gitignore
parenteb8244be5e6477821ddf26c319e61f5f98751edc (diff)
Add link to shared portion of CoreLib to .gitignore (#1607)
In the coreclr repo, one could simply findstr in the System.Private.CoreLib directory to find stuff. Since in the runtime repo the shared portion of the CoreLib moved to src/libraries/, but private portion lives in src/coreclr, the files are split. We can work around it locally by making a symbolic link. That way runtime devs that just grep/findstr stuff don't have to suffer entering the src/libraries directory where tab completion doesn't work because there's 180 directories prefixed by `System.`.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7ede2473186..fa697b57d3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -338,3 +338,15 @@ sandbox
#IL linker for testing
linker
+
+# Symbolic link for the shared portion of CoreLib to make grep/findstr work for runtime devs
+#
+# On Windows, make your own by running these commands from the repo root:
+# mklink /D src\coreclr\src\System.Private.CoreLib\shared %CD%\src\libraries\System.Private.CoreLib\src
+# mklink /D src\coreclr\src\System.Private.CoreLib\common %CD%\src\libraries\Common\src
+#
+# On Unix, make your own by running these commands from the repo root:
+# ln -s $(pwd)/src/libraries/System.Private.CoreLib/src src/coreclr/src/System.Private.CoreLib/shared
+# ln -s $(pwd)/src/libraries/Common/src src/coreclr/src/System.Private.CoreLib/common
+src/coreclr/src/System.Private.CoreLib/shared
+src/coreclr/src/System.Private.CoreLib/common