Skip to content

Commit f41f291

Browse files
committed
Create nuget package
1 parent f43187e commit f41f291

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ dist/
66
node_modules/
77
/package-lock.json
88
/.vs
9+
bin
10+
obj

.vsts-ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ phases:
2020
source $(Agent.WorkFolder)/emsdk/emsdk_env.sh
2121
npm -g install typescript
2222
npm install
23-
make
23+
make
24+
mono src/nuget/nuget.exe pack src/nuget/uno.sqlite-wasm.nuspec -Version "1.0.0-dev.$(Build.BuildId)" -OutputDirectory "$(build.artifactstagingdirectory)"
2425
displayName: 'Run make'
2526
2627
- task: CopyFiles@2

src/nuget/nuget.exe

5.18 MB
Binary file not shown.

src/nuget/uno.sqlite-wasm.nuspec

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata minClientVersion="3.3.0">
4+
<id>Uno.sqlite-wasm</id>
5+
<version>1.0.3</version>
6+
<title>Uno SQLite for WebAssembly</title>
7+
<authors>nventive</authors>
8+
<owners>nventive</owners>
9+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
10+
<projectUrl>https://github.com/nventive/uno.sqlite-wasm</projectUrl>
11+
<iconUrl>https://nv-assets.azurewebsites.net/logos/uno.png</iconUrl>
12+
<description>A compilation of the SQLite database engine for WebAssembly</description>
13+
<copyright>Copyright (C) 2015-2018 nventive inc. - all rights reserved</copyright>
14+
<repository type="git" url="https://github.com/nventive/Uno.sqlite-wasm.git" />
15+
16+
<contentFiles>
17+
<!-- Include Assets as Embedded Resource and Content so that the Uno.Wasm.Bootstrap picks those up -->
18+
<files include="any/any/**/*.js" buildAction="EmbeddedResource" />
19+
<files include="any/any/**/*.wasm" buildAction="Content" />
20+
</contentFiles>
21+
</metadata>
22+
<files>
23+
24+
<file src="../../dist/sqlite3.wasm" target="contentFiles/any/any" />
25+
<file src="../../dist/sqlite3.js" target="contentFiles/any/any/WasmScripts" />
26+
27+
</files>
28+
</package>

0 commit comments

Comments
 (0)