Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add lvont #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
263 changes: 183 additions & 80 deletions .paket/Paket.Restore.targets

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions Rdf.Vocabularies.Tests/LvontTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using Rdf.Vocabularies;
using Xunit;

namespace Rdf.Vocabularies.Tests
{
public class LvontTest
{
[Fact]
public void BaseUri()
{
Assert.Equal("http://lexvo.org/ontology#", Lvont.BaseUri);
}
}
}
11 changes: 11 additions & 0 deletions Rdf.Vocabularies.Tests/Rdf.Vocabularies.Tests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Rdf.Vocabularies\Rdf.Vocabularies.csproj" />
</ItemGroup>
<Import Project="..\.paket\Paket.Restore.targets" />
</Project>
3 changes: 3 additions & 0 deletions Rdf.Vocabularies.Tests/paket.references
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
xunit
xunit.runner.visualstudio
Microsoft.NET.Test.Sdk
6 changes: 6 additions & 0 deletions Rdf.Vocabularies.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{A1582D
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rdf.Vocabularies", "Rdf.Vocabularies\Rdf.Vocabularies.csproj", "{B549D5C4-7D1D-4A62-87A9-6B0A2115AF59}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rdf.Vocabularies.Tests", "Rdf.Vocabularies.Tests\Rdf.Vocabularies.Tests.csproj", "{55E9B0DA-3516-403E-8E09-DCA863A4E8E8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -22,6 +24,10 @@ Global
{B549D5C4-7D1D-4A62-87A9-6B0A2115AF59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B549D5C4-7D1D-4A62-87A9-6B0A2115AF59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B549D5C4-7D1D-4A62-87A9-6B0A2115AF59}.Release|Any CPU.Build.0 = Release|Any CPU
{55E9B0DA-3516-403E-8E09-DCA863A4E8E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{55E9B0DA-3516-403E-8E09-DCA863A4E8E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{55E9B0DA-3516-403E-8E09-DCA863A4E8E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{55E9B0DA-3516-403E-8E09-DCA863A4E8E8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
361 changes: 361 additions & 0 deletions Rdf.Vocabularies/Lvont.owl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Rdf.Vocabularies/Schema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public static partial class Schema
/// The name property
/// </summary>
public const string name = BaseUri + "name";

/// <summary>
/// The most generic type of item.
/// </summary>
Expand Down
3 changes: 2 additions & 1 deletion Rdf.Vocabularies/Vocabs.csx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ CreateVocabulary(Output, "Hydra.rdf", ontologyId: "http://www.w3.org/ns/hydra/co
CreateVocabulary(Output, "FOAF.owl", ontologyId: "http://xmlns.com/foaf/0.1/");
CreateVocabulary(Output, "DCTerms.owl", skipDefinedByCheck: true);
CreateVocabulary(Output, "DC.owl", skipDefinedByCheck: true);
CreateVocabulary(Output, "BIBO.owl", ontologyId: "http://purl.org/ontology/bibo/", skipDefinedByCheck: true);
CreateVocabulary(Output, "BIBO.owl", ontologyId: "http://purl.org/ontology/bibo/", skipDefinedByCheck: true);
CreateVocabulary(Output, "Lvont.owl");
14 changes: 8 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
branches:
only:
- master

install:
- choco install gitversion.portable -pre -y
before_build:

before_build:
- .paket\paket.exe restore
- ps: gitversion /l console /output buildserver /updateassemblyinfo

configuration: Release

build_script:
- ps: dotnet pack -c Release -o nugets -p:Version=$env:GitVersion_LegacySemVerPadded Rdf.Vocabularies

- ps: dotnet build
- ps: dotnet test
- ps: dotnet pack --no-build -c Release -o nugets -p:Version=$env:GitVersion_LegacySemVerPadded Rdf.Vocabularies

artifacts:
- path: 'Rdf.Vocabularies\nugets\*.nupkg'

deploy:
- provider: Environment
name: NuGet
Expand Down
3 changes: 3 additions & 0 deletions paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ source https://www.nuget.org/api/v2/

nuget dotnetrdf
nuget scripty
nuget xunit
nuget xunit.runner.visualstudio
nuget Microsoft.NET.Test.Sdk
558 changes: 405 additions & 153 deletions paket.lock

Large diffs are not rendered by default.