File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 commands :
1010 description : ' Commands'
1111 required : true
12- default : ' test check build package publish release '
12+ default : ' debug '
1313
1414jobs :
1515 publish :
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <Product >Extensions</Product >
5- <Version >1.0.2</Version >
6- <Description >Assorted components for Grasshopper.</Description >
5+ <Version >1.0.3</Version >
76 <Authors >Extensions Authors</Authors >
8- <Copyright >Copyright (c) 2021 $(Authors)</Copyright >
9- <PackageProjectUrl >https://github.com/visose/extensions</PackageProjectUrl >
7+ <Description >Assorted components for Grasshopper.</Description >
108 <PackageTags >Grasshopper;Extensions;Robots</PackageTags >
9+ <PackageProjectUrl >https://github.com/visose/extensions</PackageProjectUrl >
1110 <IconUrl >https://github.com/visose/extensions/raw/master/build/icon.png</IconUrl >
11+ <ReleaseNotes >RELEASE</ReleaseNotes >
12+
13+ <CurrentYear >$([System.DateTime]::Now.Year)</CurrentYear >
14+ <Copyright >Copyright (c) 2017-$(CurrentYear) $(Authors)</Copyright >
1215 <Company >$(Authors) - $(PackageProjectUrl)</Company >
1316 </PropertyGroup >
1417
Original file line number Diff line number Diff line change 1+ - version: 1.0.3
2+ changes:
3+ - Fixed compatibility with early Rhino 7.0 service releases.
4+ - Fixed should not appear as supported in Rhino 6 or lower.
5+
16- version: 1.0.2
27 changes:
3- - Update to work with Robots 1.0.4.
8+ - Updated to work with Robots 1.0.4.
9+
410- version: 1.0.1
511 changes:
6- - Fix check for Robots plugin when loaded after Extensions.
12+ - Fixed check for Robots plugin when loaded after Extensions.
13+
714- version: 1.0.0
815 changes:
916 - Updated to work with the latest Robots plugin.
Original file line number Diff line number Diff line change 66 </PropertyGroup >
77
88 <ItemGroup >
9- <PackageReference Include =" RhinoPackager" Version =" 1.0.2 " />
9+ <PackageReference Include =" RhinoPackager" Version =" 1.0.5 " />
1010 </ItemGroup >
1111
1212</Project >
Original file line number Diff line number Diff line change 11using RhinoPackager ;
2+ using RhinoPackager . Commands ;
23
3- return await Packager . RunAsync ( args ) ;
4+ var app = App . Create ( args ) ;
5+ var github = new Github ( "visose" , "Extensions" ) ;
6+
7+ app . Add ( new ICommand [ ]
8+ {
9+ new CheckVersion ( github ) ,
10+ new Build
11+ (
12+ buildProject : "src/Extensions.Grasshopper/Extensions.Grasshopper.csproj"
13+ ) ,
14+ new Yak
15+ (
16+ propsFile : "Directory.Build.props" ,
17+ sourceFolder : "artifacts/bin/Extensions.Grasshopper/net48" ,
18+ files : new [ ]
19+ {
20+ "Extensions.gha" ,
21+ "Extensions.dll" ,
22+ "clipper_library.dll" ,
23+ "geometry3Sharp.dll" ,
24+ "gsGCode.dll" ,
25+ "MoreLinq.dll" ,
26+ "SkeletonNet.dll"
27+ } ,
28+ tag : "rh7_0-any"
29+ ) ,
30+ new Release
31+ (
32+ github : github ,
33+ file : "RELEASE" ,
34+ message : "> This **release** can only be installed through the package manager in **Rhino 7** using the `_PackageManager` command.\n > Check the [readme](../../blob/master/.github/README.md) for more details."
35+ )
36+ } ) ;
37+
38+ await app . RunAsync ( ) ;
Original file line number Diff line number Diff line change 22 "profiles" : {
33 "Extensions.Build" : {
44 "commandName" : " Project" ,
5- "commandLineArgs" : " check " ,
5+ "commandLineArgs" : " debug " ,
66 "workingDirectory" : " ../../"
77 }
88 }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >net48</TargetFramework >
5- <GenerateResourceUsePreserializedResources >true</GenerateResourceUsePreserializedResources >
65 <AssemblyTitle >$(Product) Grasshopper</AssemblyTitle >
7- <TargetExt >.gha</TargetExt >
86 </PropertyGroup >
97
108 <ItemGroup >
11- <PackageReference Include =" Grasshopper" Version =" 7.13.21348.13001" />
129 <ProjectReference Include =" ..\Extensions\Extensions.csproj" />
13- <Reference Include =" Robots" >
14- <HintPath >..\..\lib\Robots.dll</HintPath >
15- </Reference >
16- <Reference Include =" Robots.Grasshopper" >
17- <HintPath >..\..\lib\Robots.gha</HintPath >
18- </Reference >
1910 </ItemGroup >
2011
2112 <ItemGroup >
2213 <EmbeddedResource Include =" Assets\Embed\**\*" />
2314 </ItemGroup >
2415
16+ <Target Name =" Rename" AfterTargets =" AfterBuild" >
17+ <Move SourceFiles =" $(TargetPath)" DestinationFiles =" $(TargetDir)$(Product).gha" />
18+ </Target >
19+
2520 <PropertyGroup Condition =" $([MSBuild]::IsOSPlatform(Windows))" >
2621 <StartProgram >C:\Program Files\Rhino 7\System\Rhino.exe</StartProgram >
2722 <StartArguments >/nosplash /runscript="-grasshopper window show _enter"</StartArguments >
2823 <StartAction >Program</StartAction >
2924 </PropertyGroup >
30-
31- <Target Name =" Rename" AfterTargets =" AfterBuild" >
32- <Move SourceFiles =" $(TargetPath)" DestinationFiles =" $(TargetDir)$(Product)$(TargetExt)" />
33- </Target >
34-
35-
3625</Project >
You can’t perform that action at this time.
0 commit comments