Skip to content

Commit

Permalink
Added mono.data.sqlite to nuget, added zip and added windows install …
Browse files Browse the repository at this point in the history
…guide
  • Loading branch information
principis committed Dec 15, 2018
1 parent c54c0d9 commit f04a2cd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
language: csharp
solution: tldr-sharp.sln
before_install:
- sudo apt-get update
- sudo apt-get install -y zip
script:
- msbuild /p:Configuration=Release tldr-sharp.sln /p:AllowedReferenceRelatedFileExtensions=none
- bash scripts/test.sh
Expand All @@ -14,6 +17,7 @@ deploy:
file_glob: true
file:
- tldr-sharp/bin/v*.tar.gz
- tldr-sharp/bin/v*.zip
- scripts/linux_install.sh
skip_cleanup: true
on:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ A C# based command-line client for [tldr](https://github.com/tldr-pages/tldr).
## Requirements
Because of TLS 1.2 support Mono >= 4.8 is required. If your distro comes with an older version, please install the [latest stable](https://www.mono-project.com/download/stable/).
* Mono >= 4.8 because of TLS 1.2 support
* Mono.Data.Sqlite

## Installing
### Linux
Expand All @@ -32,7 +31,8 @@ sudo chmod +x tldr
```

### Windows
Sometime in the future....
Extract the latest [release](https://github.com/principis/tldr-sharp/releases) and download the latest [sqlite3 dll](https://www.sqlite.org/download.html).
Extract the dll in the same folder as tldr_sharp.exe.

## Usage
```
Expand Down
1 change: 1 addition & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if ([ ! -z "$TRAVIS_TAG" ]) &&

cd tldr-sharp/bin/Release
tar czf "../$TRAVIS_TAG.tar.gz" *
zip -r "../$TRAVIS_TAG.zip" *

sed -i "s/VERSION_PLACEHOLDER/$TRAVIS_TAG/g" ../../../scripts/linux_install.sh
fi
Expand Down
1 change: 1 addition & 0 deletions tldr-sharp/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Mono.Data.Sqlite" version="1.0.61" targetFramework="net45" />
<package id="Mono.Options" version="5.3.0.1" targetFramework="net471" />
<package id="NaturalSort.Extension" version="1.0.2" targetFramework="net471" />
<package id="SharpCompress" version="0.22.0" targetFramework="net471" />
Expand Down
5 changes: 4 additions & 1 deletion tldr-sharp/tldr-sharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Data.Sqlite" />
<Reference Include="Mono.Data.Sqlite, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
<HintPath>..\packages\Mono.Data.Sqlite.1.0.61\lib\net40\Mono.Data.Sqlite.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Mono.Options, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\Mono.Options.5.3.0.1\lib\net4-client\Mono.Options.dll</HintPath>
<Private>True</Private>
Expand Down

0 comments on commit f04a2cd

Please sign in to comment.