Skip to content

Commit f309502

Browse files
init
0 parents  commit f309502

23 files changed

+920
-0
lines changed

.config/dotnet-tools.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"paket": {
6+
"version": "7.2.0",
7+
"commands": [
8+
"paket"
9+
]
10+
},
11+
"aardpack": {
12+
"version": "1.0.18",
13+
"commands": [
14+
"aardpack"
15+
]
16+
}
17+
}
18+
}

.github/workflows/linux.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Linux
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
pull_request:
8+
paths-ignore:
9+
- 'README.md'
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Install Dotnet
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: '6.0.103'
23+
- name: Build
24+
run: sh ./build.sh

.github/workflows/mac.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: MacOS
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
pull_request:
8+
paths-ignore:
9+
- 'README.md'
10+
11+
jobs:
12+
build:
13+
14+
runs-on: macos-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Install Dotnet
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: '6.0.103'
23+
- name: Build
24+
run: bash ./build.sh

.github/workflows/publish.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- RELEASE_NOTES.md
8+
- .github/workflows/publish.yml
9+
jobs:
10+
pack:
11+
name: Package
12+
runs-on: windows-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Install Dotnet
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: '6.0.103'
20+
- name: Restore Tools
21+
run: dotnet tool restore
22+
- name: Restore
23+
run: dotnet paket restore
24+
- name: Build
25+
shell: cmd
26+
run: dotnet build -c Release src\Aardvark.Base.Cryptography.sln
27+
- name: Pack
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
run: dotnet aardpack src\Aardvark.Base.Cryptography.sln --notag
31+
- name: Upload Packages
32+
uses: actions/upload-artifact@v2
33+
with:
34+
name: packages
35+
path: bin\pack
36+
- name: NuGet
37+
env:
38+
NUGET_KEY: ${{ secrets.NUGET_KEY }}
39+
shell: cmd
40+
run: dotnet nuget push "bin\pack\*.nupkg" -k %NUGET_KEY% -s "https://api.nuget.org/v3/index.json" --skip-duplicate

.github/workflows/windows.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Windows
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
pull_request:
8+
paths-ignore:
9+
- 'README.md'
10+
11+
jobs:
12+
build:
13+
14+
runs-on: windows-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Install Dotnet
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: '6.0.103'
23+
- name: build
24+
run: .\build.cmd

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Visual Studio
2+
.vs
3+
**/bin
4+
**/obj
5+
/.ionide
6+
/packages/*
7+
!/packages/*.config
8+
/.paket
9+
/.fake
10+
/paket-files
11+
/Aardvark.log
12+
13+
14+
# Paket dependency manager
15+
paket-files/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 The Aardvark Platform Team
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Utilities for handling data in a cryptographically secure way.
2+
3+
Examples
4+
- securely store credentials
5+
- encrypt data when written to disk

RELEASE_NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### 0.1.0
2+
- publish first package

build.cmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
SETLOCAL
3+
PUSHD %~dp0
4+
5+
dotnet tool restore
6+
dotnet paket restore
7+
dotnet build src/Aardvark.Base.Cryptography -c Release

0 commit comments

Comments
 (0)