Skip to content

Commit

Permalink
more line-end fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bodewig committed Oct 30, 2016
1 parent fa4f0af commit 249cdce
Show file tree
Hide file tree
Showing 5 changed files with 289 additions and 266 deletions.
25 changes: 24 additions & 1 deletion .gitattributes
@@ -1,23 +1,46 @@
*.apt text
*.asax text
*.aspx text
*.build text
*.cgi eol=lf
*.config text
*.cpp text
*.cs text diff=csharp
*.csdproj text
*.csproj text
*.css text
*.dll binary
*.dtd text
*.html text diff=html
*.include text
*.js text
*.json text
*.log4net text
*.md text
*.nuspec text
*.readme text
*.resx text
*.rng text
*.rngc text
*.sh eol=lf
*.shfbproj text
*.sln text
*.snk binary
*.txt text
*.vb text
*.vbdproj text
*.vbproj text
*.vcproj text
*.vm text
*.vsdisco text
*.webinfo text
*.xml text
*.xproj text
*.xsd text
*.xsl text
*.yml text
NOTICE text
.gitattributes text
.gitignore text
KEYS text
LICENSE text
NOTICE text
96 changes: 48 additions & 48 deletions examples/net/2.0/Appenders/WmiAppender/cs/nant.build
@@ -1,48 +1,48 @@
<?xml version="1.0" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="wmiappender-cs-example" default="compile" xmlnds="http://tempuri.org/nant-vs.xsd">
<!-- Include configuration file -->
<include buildfile="nant.config" />
<!-- Include log4net helpers -->
<include buildfile="${log4net.basedir}/log4net.include" />
<!-- Targets that should always be executed -->
<call target="set-build-configuration" />
<call target="set-${project.runtime.config}-${project.runtime.version}-runtime-configuration" />
<!-- Target for compiling the example -->
<target name="compile" description="Builds the example" depends="check-current-bin-dir, clean-current-bin-dir, check-current-build-defines, check-current-build-config, check-current-build-debug, check-log4net-assembly">
<!-- copy log4net build output -->
<copy todir="${current.bin.dir}">
<fileset basedir="${log4net.output.dir}">
<include name="*.*" />
</fileset>
</copy>
<!-- compile the example -->
<csc noconfig="true" target="library" warnaserror="true" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.Appender.WmiAppender.dll">
<sources>
<include name="src/**/*.cs" />
<include name="${log4net.basedir}/src/AssemblyVersionInfo.cs" />
</sources>
<references basedir="${current.bin.dir}">
<include name="log4net.dll" />
<include name="System.dll" />
<include name="System.Configuration.Install.dll" />
<include name="System.Management.dll" />
</references>
</csc>
</target>
</project>
<?xml version="1.0" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="wmiappender-cs-example" default="compile" xmlnds="http://tempuri.org/nant-vs.xsd">
<!-- Include configuration file -->
<include buildfile="nant.config" />
<!-- Include log4net helpers -->
<include buildfile="${log4net.basedir}/log4net.include" />
<!-- Targets that should always be executed -->
<call target="set-build-configuration" />
<call target="set-${project.runtime.config}-${project.runtime.version}-runtime-configuration" />
<!-- Target for compiling the example -->
<target name="compile" description="Builds the example" depends="check-current-bin-dir, clean-current-bin-dir, check-current-build-defines, check-current-build-config, check-current-build-debug, check-log4net-assembly">
<!-- copy log4net build output -->
<copy todir="${current.bin.dir}">
<fileset basedir="${log4net.output.dir}">
<include name="*.*" />
</fileset>
</copy>
<!-- compile the example -->
<csc noconfig="true" target="library" warnaserror="true" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.Appender.WmiAppender.dll">
<sources>
<include name="src/**/*.cs" />
<include name="${log4net.basedir}/src/AssemblyVersionInfo.cs" />
</sources>
<references basedir="${current.bin.dir}">
<include name="log4net.dll" />
<include name="System.dll" />
<include name="System.Configuration.Install.dll" />
<include name="System.Management.dll" />
</references>
</csc>
</target>
</project>
58 changes: 29 additions & 29 deletions examples/net/2.0/Appenders/WmiAppender/nant.build
@@ -1,29 +1,29 @@
<?xml version="1.0" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="wmiappender-example" default="compile" xmlnds="http://tempuri.org/nant-vs.xsd">
<!-- compile ConsoleApp example -->
<target name="compile" description="Builds WmiAppender example">
<nant target="compile">
<buildfiles>
<include name="*/nant.build" />
<!-- exclude current build file -->
<exclude name="exclude.build" />
</buildfiles>
</nant>
</target>
</project>
<?xml version="1.0" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="wmiappender-example" default="compile" xmlnds="http://tempuri.org/nant-vs.xsd">
<!-- compile ConsoleApp example -->
<target name="compile" description="Builds WmiAppender example">
<nant target="compile">
<buildfiles>
<include name="*/nant.build" />
<!-- exclude current build file -->
<exclude name="exclude.build" />
</buildfiles>
</nant>
</target>
</project>

0 comments on commit 249cdce

Please sign in to comment.