Skip to content

Commit

Permalink
Fix line ending characters in start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbata committed Oct 2, 2023
1 parent bcaf681 commit 06988ad
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.apache.tools.ant.filters.FixCrLfFilter

plugins {
id 'application'
id 'java'
Expand Down Expand Up @@ -33,6 +35,14 @@ distributions {
contents {
from jar
from 'wads'
from('scripts') {
include '*.sh'
filter(FixCrLfFilter, eol:FixCrLfFilter.CrLf.newInstance('unix'))
}
from('scripts') {
include '*.bat'
filter(FixCrLfFilter, eol:FixCrLfFilter.CrLf.newInstance('dos'))
}
from("$projectDir") {
include 'LICENSE.TXT'
include 'README.md'
Expand All @@ -41,14 +51,13 @@ distributions {
include 'default.cfg'
include 'classic.cfg'
include 'mochadoom.cfg'
include 'mochadoom*.sh'
include 'mochadoom*.bat'
}
into '/'
}
}
}

startScripts.enabled = false
distTar.enabled = false
distZip {
eachFile { file ->
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 06988ad

Please sign in to comment.