Skip to content

Commit b8c77b3

Browse files
committed
Updated Build Scripts
1 parent 19c87fa commit b8c77b3

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

XRIT/build-pre.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
msbuild /p:Configuration=Release
44
cp bin/Release/XRIT.dll build/lib/net45/
5+
cp bin/Release/XRIT.dll build/lib/net452/
56
LIBVER=`monodis --assembly bin/Release/XRIT.dll |grep Version | cut -d: -f2 | sed -e 's/^[[:space:]]*//'`
67
cd build
78

XRIT/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22

33
msbuild /p:Configuration=Release
44
cp bin/Release/XRIT.dll build/lib/net45/
5+
cp bin/Release/XRIT.dll build/lib/net452/
6+
LIBVER=`monodis --assembly bin/Release/XRIT.dll |grep Version | cut -d: -f2 | sed -e 's/^[[:space:]]*//'`
57
cd build
8+
9+
echo "Current Version: ${LIBVER%.*}"
10+
sed "s/|{|VERSION|}|/${LIBVER%.*}/g" XRIT.nuspec.tpl > XRIT.nuspec
611
nuget pack XRIT.nuspec -verbosity detailed

XRIT/build/XRIT.nuspec

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>OpenSatelliteProject.XRIT</id>
5-
<version>1.3</version>
5+
<version>1.3.6489</version>
66
<title>XRIT Library</title>
77
<authors>Lucas Teske</authors>
88
<owners>Lucas Teske</owners>
@@ -12,12 +12,12 @@
1212
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1313
<description>xRIT File / Packet Processing Library</description>
1414
<releaseNotes>
15-
Added LogLevel Enable Control and reduced some log messages to contain only filename and not the full path
16-
Added new False Color LUT system
17-
Added better error handling when loading ShapeFiles / MapDrawer Verified
18-
Added Debug Message Prefix and some more Debug Messages Regarding ShapeFiles
19-
Added Revsion to LibInfo.Version
20-
Changed False Color LUT to be less yellow-ish and added Thermal / Radiance Offset Tunning
15+
Added LogLevel Enable Control and reduced some log messages to contain only filename and not the full path
16+
Added new False Color LUT system
17+
Added better error handling when loading ShapeFiles / MapDrawer Verified
18+
Added Debug Message Prefix and some more Debug Messages Regarding ShapeFiles
19+
Added Revsion to LibInfo.Version
20+
Changed False Color LUT to be less yellow-ish and added Thermal / Radiance Offset Tunning
2121
</releaseNotes>
2222
<copyright>Copyright 2017</copyright>
2323
<tags>GOES XRIT NOAA Satellite OpenSatelliteProject OSP SDR Ingestor</tags>
@@ -28,7 +28,10 @@
2828
<dependency id="DotSpatial.Serialization" version="[1.9]"/>
2929
<dependency id="DotSpatial.Topology" version="[1.9]"/>
3030
<dependency id="SharpZipLib" version="[0.86.0]"/>
31-
<dependency id="sqlite-net" version="[1.0.8]"/>
32-
</dependencies>
31+
</dependencies>
3332
</metadata>
33+
<files>
34+
<file src="lib/**" target="lib" />
35+
<file src="build/**" target="build" />
36+
</files>
3437
</package>

XRIT/build/XRIT.nuspec.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<dependency id="DotSpatial.Serialization" version="[1.9]"/>
2929
<dependency id="DotSpatial.Topology" version="[1.9]"/>
3030
<dependency id="SharpZipLib" version="[0.86.0]"/>
31-
<dependency id="sqlite-net" version="[1.0.8]"/>
3231
</dependencies>
3332
</metadata>
3433
<files>

0 commit comments

Comments
 (0)