Skip to content

Commit

Permalink
Add MIT license (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky committed Dec 11, 2022
1 parent 48f0804 commit 93bd204
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/official-release-license.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
The MIT License (MIT)

Copyright (c) Michal Strehovsky

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 7 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ jobs:
llvm-objcopy --only-keep-debug layouts/linux-glibc-arm64/bflat layouts/obj/linux-glibc-arm64/bflat.dwo
llvm-objcopy --strip-debug --strip-unneeded layouts/linux-glibc-arm64/bflat
llvm-objcopy --add-gnu-debuglink=layouts/obj/linux-glibc-arm64/bflat.dwo layouts/linux-glibc-arm64/bflat
- name: Inject license
if: ${{ github.event.inputs.version != '' }}
run: |
cp .github/official-release-license.tmp layouts/windows-x64/LICENSE.TXT
cp .github/official-release-license.tmp layouts/windows-arm64/LICENSE.TXT
cp .github/official-release-license.tmp layouts/linux-glibc-x64/LICENSE.TXT
cp .github/official-release-license.tmp layouts/linux-glibc-arm64/LICENSE.TXT
- name: Create archives
run: |
(cd layouts/windows-x64 && zip -r ../windows-x64.zip .)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Look at the [Releases tab](https://github.com/bflattened/bflat/releases) of this

Unzip the archive to a convenient location and add the root to your PATH. You're all set. See the samples directory for a couple samples.

The binary releases are licensed under the MIT license.

## 🎷 I don't see dotnet, MSBuild, or NuGet

That's the point. bflat is to dotnet as VS Code is to VS.
Expand Down

0 comments on commit 93bd204

Please sign in to comment.