-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Convert library to .NET Standard 2.0 - Namespace reorganization for better ergonomics (Only need to `open Fs.Units` now) - Project folder restructure - Add build project - Add dotnet tooling - Add .editorconfig - Add Decimeter to Length modules - Add Liter to Volume modules - Add Gallon to Volume modules - Moved FuelEconomy to compound folder and update types to include simple unit components
- Loading branch information
1 parent
5097695
commit 18e0d47
Showing
125 changed files
with
6,732 additions
and
4,921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"paket": { | ||
"version": "8.0.0", | ||
"commands": [ | ||
"paket" | ||
] | ||
}, | ||
"fantomas": { | ||
"version": "6.2.3", | ||
"commands": [ | ||
"fantomas" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
root = true | ||
|
||
[*.{fs,fsx,fsi}] | ||
trim_trailing_whitespace = true | ||
fsharp_multiline_block_brackets_on_same_column = true | ||
fsharp_multiline_lambda_closing_newline = true | ||
fsharp_record_multiline_formatter = number_of_items | ||
fsharp_align_function_signature_to_indentation = true | ||
fsharp_keep_max_number_of_blank_lines = 1 | ||
fsharp_multiline_bracket_style = aligned | ||
fsharp_newline_before_multiline_computation_expression = false | ||
indent_size = 2 | ||
|
||
# Visual Studio Solution Files | ||
[*.sln] | ||
indent_style = tab | ||
|
||
# XML project files | ||
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,sfproj}] | ||
indent_size = 2 | ||
|
||
# Markdown Files | ||
[*.{md,mdx}] | ||
trim_trailing_whitespace = false | ||
|
||
# Bash Files | ||
[*.{sh}] | ||
end_of_line = lf | ||
|
||
# Batch Files | ||
[*.{cmd,bat}] | ||
end_of_line = crlf | ||
|
||
# Powershell Files | ||
[*.{ps1, psm1}] | ||
end_of_line = crlf | ||
|
||
# Paket files | ||
[paket.*] | ||
trim_trailing_whitespace = true | ||
indent_size = 2 | ||
|
||
[*.paket.references] | ||
trim_trailing_whitespace = true | ||
indent_size = 2 | ||
|
||
# YAML Files | ||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
indent_style = space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
AssemblyInfo.fs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build master | ||
|
||
on: | ||
pull_request: | ||
types: [ opened, synchronize, reopened ] | ||
paths-ignore: | ||
- ".github" | ||
- ".vscode" | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup necessary dotnet SDKs | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
global-json-file: global.json | ||
dotnet-version: 8.x | ||
|
||
- name: Build via Bash | ||
if: runner.os != 'Windows' | ||
run: | | ||
chmod +x ./build.sh | ||
./build.sh | ||
env: | ||
CI: true | ||
- name: Build via Windows | ||
if: runner.os == 'Windows' | ||
run: ./build.cmd | ||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@1eyewonder |
17 changes: 0 additions & 17 deletions
17
Fs.Units.CSharp.Tests.Benchmark/Fs.Units.CSharp.Tests.Benchmark.csproj
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.