diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..b3e9068 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,9 @@ + + + + + 3.4.22 + all + + + \ No newline at end of file diff --git a/Sharp.Augeas/.nuspec b/Sharp.Augeas/.nuspec new file mode 100644 index 0000000..c5d3cfd --- /dev/null +++ b/Sharp.Augeas/.nuspec @@ -0,0 +1,13 @@ + + + + Example + 1.0.0 + Example + false + Example + + + + + diff --git a/Sharp.Augeas/Augeas/AugeasExtern.cs b/Sharp.Augeas/Augeas/AugeasExtern.cs index cbe3b42..8fe5a3b 100644 --- a/Sharp.Augeas/Augeas/AugeasExtern.cs +++ b/Sharp.Augeas/Augeas/AugeasExtern.cs @@ -9,6 +9,14 @@ namespace Sharp.Augeas [SuppressUnmanagedCodeSecurity] public static unsafe class AugeasExtern { + + /// + /// Used by DllImport to load the native library + /// + /// + private const string _libName = "clAugeas"; + + [DllImport(_libName)] public static extern IntPtr init_aug(AugSettings settings, int flags); @@ -18,10 +26,6 @@ namespace Sharp.Augeas [DllImport(_libName)] public static extern void free_str(IntPtr str); - /// - /// Used by DllImport to load the native library - /// - private const string _libName = "clAugeas"; /// Test calling [DllImport(_libName)] diff --git a/Sharp.Augeas/Platform/Linux/libclAugeas.so b/Sharp.Augeas/Platform/Linux/libclAugeas.so deleted file mode 100644 index e69de29..0000000 diff --git a/Sharp.Augeas/Sharp.Augeas.csproj b/Sharp.Augeas/Sharp.Augeas.csproj index 56cc1ed..62f69af 100644 --- a/Sharp.Augeas/Sharp.Augeas.csproj +++ b/Sharp.Augeas/Sharp.Augeas.csproj @@ -5,19 +5,28 @@ enable disable Linux + true true Sharp.Augeas + https://git.codeliturgy.com/P0/Sharp.Augeas + $(Version) + true + https://git.codeliturgy.com/P0/Sharp.Augeas - - - PreserveNewest - root\%(RecursiveDir)\%(Filename)%(Extension) - + + 3.5.109 + - - PreserveNewest - + + 3.5.109 + + + + + true + Always + diff --git a/Sharp.Augeas/libclAugeas.so b/Sharp.Augeas/libclAugeas.so new file mode 100755 index 0000000..9b2e415 Binary files /dev/null and b/Sharp.Augeas/libclAugeas.so differ diff --git a/version.json b/version.json index e11d992..0194563 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.9", + "version": "1.1", "semVer1NumericIdentifierPadding": 1, "publicReleaseRefSpec": [ "^refs/heads/master$",