]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
Appveyor: Create artefact with library and include files only
authorJames Myatt <james.myatt@tessella.com>
Thu, 5 Nov 2015 13:41:42 +0000 (13:41 +0000)
committerJames Myatt <james.myatt@tessella.com>
Thu, 5 Nov 2015 13:45:01 +0000 (13:45 +0000)
appveyor.yml

index 5567407e0b24a4e66c426d4d9c0212d4d3c1fed1..537f9b53b9fba5fecac9fc4a41d077669f536523 100644 (file)
@@ -15,18 +15,28 @@ build_script:
 - >\r
   msbuild "json-c.vcxproj" /m /verbosity:normal\r
   /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
-  /p:PlatformToolset=%PlatformToolset%\r
+  /p:PlatformToolset=%PlatformToolset% /p:OutDir=lib\\r
+\r
+after_build:\r
+- md include\json-c\r
+- copy json.h include\json-c\*\r
+- copy debug.h include\json-c\*\r
+- copy linkhash.h include\json-c\*\r
+- copy arraylist.h include\json-c\*\r
+- copy json_util.h include\json-c\*\r
+- copy json_object.h include\json-c\*\r
+- copy json_tokener.h include\json-c\*\r
+- copy json_object_iterator.h include\json-c\*\r
+- copy json_c_version.h include\json-c\*\r
+- copy json_inttypes.h include\json-c\*\r
+- copy json_config.h include\json-c\*\r
+- copy json_object_private.h include\json-c\*\r
+- 7z a json-c.lib.zip lib\json-c.lib include\json-c\*.h\r
 \r
 matrix:\r
   allow_failures:\r
     - PlatformToolset: v140\r
 \r
 artifacts:\r
-- path: Debug\*\r
-  name: Debug_x86\r
-- path: Release\*\r
-  name: Release_x86\r
-- path: x64\Debug\*\r
-  name: Debug_x64\r
-- path: x64\Release\*\r
-  name: Release_x64\r
+- path: json-c.lib.zip\r
+  name: json-c.lib.zip\r