From 4326c2ee0e50a6ba6cfd9bb8258a015aa7c6adf3 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 21 Nov 2019 10:14:25 +0100 Subject: chore: Add .gitattributes for Gradle wrapper This change ensures that the batch file for invoking the Gradle wrapper is treated as a file with Windows line endings. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..71fa4d41 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# https://help.github.com/articles/dealing-with-line-endings/ +# +# These are explicitly windows files and should use crlf +*.bat text eol=crlf -- cgit v1.2.3 From e3e3128464e1a488cd14b8d29a3d24eac3572dbb Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 16 Mar 2020 19:55:22 +0100 Subject: bug: Fix Gradle build on Windows This change adds a workaround for the Windows build where Gradle fails to compile the Kotlin code in `buildSrc` due to CRLF line endings. See https://github.com/gradle/gradle/issues/12248 --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes index 71fa4d41..12924725 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,3 +2,6 @@ # # These are explicitly windows files and should use crlf *.bat text eol=crlf + +# See https://github.com/gradle/gradle/issues/12248 +buildSrc/src/main/**/*.gradle.kts text eol=lf -- cgit v1.2.3 From 46b06fb446e79c390c01953d31d700b8e73da24d Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Mon, 29 Jun 2020 16:04:57 +0200 Subject: Prepare simulator repository for monorepo This change prepares the simulator Git repository for the monorepo residing at https://github.com/atlarge-research.com/opendc. To accomodate for this, we move all files into a simulator subdirectory. --- .gitattributes | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 12924725..00000000 --- a/.gitattributes +++ /dev/null @@ -1,7 +0,0 @@ -# https://help.github.com/articles/dealing-with-line-endings/ -# -# These are explicitly windows files and should use crlf -*.bat text eol=crlf - -# See https://github.com/gradle/gradle/issues/12248 -buildSrc/src/main/**/*.gradle.kts text eol=lf -- cgit v1.2.3