From 91ac87884025890fe150b8c0f17f898092ecf9cb Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 31 May 2024 01:17:34 +0300 Subject: [PATCH] Improve relative paths in .gitignore. --- .gitignore | 2 +- example/android/.gitignore | 6 +++--- example/cpp/.gitignore | 2 +- example/csharp/.gitignore | 10 +++++----- example/java/.gitignore | 8 ++++---- example/swift/.gitignore | 6 +++--- example/uwp/app/.gitignore | 10 +++++----- example/web/.gitignore | 10 +++++----- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 4f950ed98..1efef31f4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,5 @@ **/.DS_Store **/auto/ docs/ -tdlib/ +/tdlib/ vcpkg/ diff --git a/example/android/.gitignore b/example/android/.gitignore index 7547413bf..a9e9f6d0d 100644 --- a/example/android/.gitignore +++ b/example/android/.gitignore @@ -1,3 +1,3 @@ -SDK/ -tdlib/ -third-party/ +/SDK* +/tdlib* +/third-party* diff --git a/example/cpp/.gitignore b/example/cpp/.gitignore index 336dc7d45..b64845d43 100644 --- a/example/cpp/.gitignore +++ b/example/cpp/.gitignore @@ -1 +1 @@ -td/ +/td/ diff --git a/example/csharp/.gitignore b/example/csharp/.gitignore index 5266ecccc..9ce7d06ac 100644 --- a/example/csharp/.gitignore +++ b/example/csharp/.gitignore @@ -1,5 +1,5 @@ -.vs/ -bin/ -obj/ -project.lock.json -TdExample.csproj.user +/.vs/ +/bin/ +/obj/ +/project.lock.json +/TdExample.csproj.user diff --git a/example/java/.gitignore b/example/java/.gitignore index 8f846b80d..f6b1fc659 100644 --- a/example/java/.gitignore +++ b/example/java/.gitignore @@ -1,5 +1,5 @@ **/*build/ -bin/ -docs/ -org/drinkless/tdlib/TdApi.java -td/ +/bin/ +/docs/ +/org/drinkless/tdlib/TdApi.java +/td/ diff --git a/example/swift/.gitignore b/example/swift/.gitignore index 4737be599..6e3ff7d7c 100644 --- a/example/swift/.gitignore +++ b/example/swift/.gitignore @@ -1,3 +1,3 @@ -xcuserdata/ -*workspace/ -td/ +/xcuserdata/ +/*workspace/ +/td/ diff --git a/example/uwp/app/.gitignore b/example/uwp/app/.gitignore index 37ab08165..080296853 100644 --- a/example/uwp/app/.gitignore +++ b/example/uwp/app/.gitignore @@ -1,5 +1,5 @@ -.vs/ -bin/ -obj/ -project.lock.json -TdApp.csproj.user +/.vs/ +/bin/ +/obj/ +/project.lock.json +/TdApp.csproj.user diff --git a/example/web/.gitignore b/example/web/.gitignore index 0a213668d..b709ae107 100644 --- a/example/web/.gitignore +++ b/example/web/.gitignore @@ -1,5 +1,5 @@ -OpenSSL_*.tar.gz -openssl-OpenSSL_*/ -tdweb/dist/ -tdweb/node_modules/ -tdweb/src/prebuilt/ +/OpenSSL_*.tar.gz +/openssl-OpenSSL_*/ +/tdweb/dist/ +/tdweb/node_modules/ +/tdweb/src/prebuilt/