Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Added licenses for deploy (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewSachin authored May 9, 2017
1 parent 8b995ec commit c255f0f
Show file tree
Hide file tree
Showing 6 changed files with 575 additions and 4 deletions.
17 changes: 13 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,28 @@ build:
verbosity: minimal

after_build:
# Pack Deploy zip
# Create output folder
- md Output

# Copy licenses
- xcopy /s licenses Output\licenses\

# Copy build output
- ps: >-
if ($env:configuration -eq 'Release')
{
Get-ChildItem -Path 'src/bin/Release/*' -Include *.exe*, *.dll | Compress-Archive -DestinationPath 'src/bin/Release/Captura.zip'
Get-ChildItem -Path 'src/bin/Release/*' -Include *.exe*, *.dll | Copy-Item -Destination 'Output/'
}
elseif ($env:configuration -eq 'Debug')
{
Get-ChildItem -Path 'src/bin/Debug/*' -Include *.exe*, *.dll, *.pdb, *.xml | Compress-Archive -DestinationPath 'src/bin/Debug/Captura.zip'
Get-ChildItem -Path 'src/bin/Debug/*' -Include *.exe*, *.dll, *.pdb, *.xml | Copy-Item -Destination 'Output/'
}
# Pack Deploy zip
- ps: Compress-Archive 'Output\*' 'Output\Captura.zip'

artifacts:
- path: src/bin/$(configuration)/Captura.zip
- path: Output/Captura.zip
name: Captura.zip

deploy:
Expand Down
9 changes: 9 additions & 0 deletions licenses/Captura, Screna, ManagedBass.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The MIT License

(c) Copyright 2017 Mathew Sachin.

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.
Loading

0 comments on commit c255f0f

Please sign in to comment.