Skip to content

Commit

Permalink
Added Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Digitalroot committed Dec 9, 2021
1 parent 6df8f7e commit 2a948e9
Show file tree
Hide file tree
Showing 6 changed files with 855 additions and 12 deletions.
128 changes: 128 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
*.sln merge=binary
*.csproj merge=binary
*.vbproj merge=binary
*.vcxproj merge=binary
*.vcproj merge=binary
*.dbproj merge=binary
*.fsproj merge=binary
*.lsproj merge=binary
*.wixproj merge=binary
*.modelproj merge=binary
*.sqlproj merge=binary
*.wwaproj merge=binary
*.user merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
*.jpg binary
*.jpeg binary
*.png binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
# SVG treated as an asset (binary) by default.
# *.svg text
# If you want to treat it as binary,
# use the following line instead.
*.svg binary
*.eps binary
*.webp binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.bibtex text diff=bibtex
*.md text
*.tex text diff=tex
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.txt text
*.sql text
*.ps1 text
*.props text
*.config text
.DotSettings text
LICENSE text

# Scripts
*.bash text eol=lf
*.fish text eol=lf
*.sh text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf

# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text

# Archives
*.7z binary
*.gz binary
*.tar binary
*.tgz binary
*.zip binary
*.rar binary

# Unity
*.unitypackage binary
*.manifest merge=binary

# Text files where line endings should be preserved
*.patch -text

#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
9 changes: 0 additions & 9 deletions .github/workflows/nuget.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,9 @@ jobs:
secrets:
aws-access-key-id: ${{ secrets.NUGET_S3_REPO_KEY_ID }}
aws-secret-access-key: ${{ secrets.NUGET_S3_REPO_KEY_SECRET }}
#nexus-api-key: ${{ secrets.NEXUS_API_KEY }}
#nexus-cookies-header: ${{ secrets.NEXUS_COOKIE_HEADER }}
with:
sln-file-name: Digitalroot.Valheim.Common.Extensions
proj-file-name: Digitalroot.Valheim.Common.Extensions
#src-path: src
#unit-test-path: UnitTests
skip-unit-tests: true
#force-assembly-version: true
#create-github-release: false
#aws-region: us-west-2
nuget-gh-upload: true
nuget-s3-upload: true
#nexus-enable-upload: true
#nexus-mod-id: 000
File renamed without changes.
12 changes: 9 additions & 3 deletions src/Digitalroot.Valheim.Common.Extensions.sln
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31515.178
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E5C5D2B9-639B-48CF-B5B0-E44FD7F24B1E}"
ProjectSection(SolutionItems) = preProject
..\.gitattributes = ..\.gitattributes
..\.gitignore = ..\.gitignore
..\LICENSE = ..\LICENSE
..\README.md = ..\README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{E64D67E6-C2B6-471C-990D-2E9A91427B64}"
Expand All @@ -19,6 +19,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Digitalroot.Valheim.Common.Extensions", "Digitalroot.Valheim.Common.Extensions\Digitalroot.Valheim.Common.Extensions.csproj", "{50EA1929-24FC-4773-B30B-E7D556A09D60}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{F6CF7B11-6CD8-485A-8EE7-D58DB53C4647}"
ProjectSection(SolutionItems) = preProject
..\docs\README.md = ..\docs\README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -36,6 +41,7 @@ Global
GlobalSection(NestedProjects) = preSolution
{E64D67E6-C2B6-471C-990D-2E9A91427B64} = {E5C5D2B9-639B-48CF-B5B0-E44FD7F24B1E}
{1960DCD1-3C51-48FF-BFF8-5FE4C3CBABB2} = {E64D67E6-C2B6-471C-990D-2E9A91427B64}
{F6CF7B11-6CD8-485A-8EE7-D58DB53C4647} = {E5C5D2B9-639B-48CF-B5B0-E44FD7F24B1E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {46DD4389-95C4-4F57-BB16-2A9A816F46B9}
Expand Down
Loading

0 comments on commit 2a948e9

Please sign in to comment.