Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Digitalroot authored Apr 28, 2023
0 parents commit 6efa112
Show file tree
Hide file tree
Showing 16 changed files with 1,308 additions and 0 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
23 changes: 23 additions & 0 deletions .github/workflows/discord.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Discord Webhook

concurrency: ci-${{ github.ref }}

on:
push:
branches: [ main ] # Default release branch
paths:
- 'src/**'
- '.github/workflows/**'

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

jobs:
call-workflow-discord-hook:
if: ${{ false }} # disable for now
uses: Digitalroot-Valheim/.github/.github/workflows/discord.yml@main
secrets:
webhook_url: ${{ secrets.VALHEIM_DISCORD_TITANS_WEBHOOK_URL }}
with:
repo_name: Placeholder
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release

concurrency: ci-${{ github.ref }}

on:
push:
branches: [ main ] # Default release branch
paths:
- 'src/**'
- '.github/workflows/**'

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

jobs:
call-workflow-nuget-release:
if: ${{ false }} # disable for now
uses: Digitalroot-Valheim/.github/.github/workflows/nuget.release.yml@main
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 }}
#nuget-org-key: ${{ secrets.NUGET_ORG_PAT }}

with:
sln-file-name: Digitalroot.Valheim.Common.Placeholder
proj-file-name: Digitalroot.Valheim.Common.Placeholder
#src-path: src
#unit-test-path: UnitTests
#skip-unit-tests: true
#force-assembly-version: true
#create-github-release: false
#aws-region: us-west-2
#is-nuget-package: false
#nuget-gh-upload: true
#nuget-s3-upload: true
#nuget-org-upload: true
#nexus-enable-upload: true
#nexus-mod-id: 000
Loading

0 comments on commit 6efa112

Please sign in to comment.