From e6881885dd8c2aab4fa4f952bdbf00761b38b10a Mon Sep 17 00:00:00 2001 From: redorb8 Date: Thu, 16 Oct 2014 10:34:49 -0600 Subject: [PATCH 1/2] Updated build script to build.bat script --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index adc6fb6..a503366 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Windows .NET INSTALLATION -To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build" +To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build.bat" script. To install this module, copy the AlchemyAPI.dll file generated from the previous step into your desired @@ -92,7 +92,7 @@ adding your assigned AlchemyAPI API key. Compiling Code Samples: - 1. Run "build" (Compiles code using .NET) + 1. Run "build.bat" (Compiles code using .NET) Running Code Samples: From 49262e29eda0f9515cdcea24a061a8e3f7877e47 Mon Sep 17 00:00:00 2001 From: Joshua Holmgren Date: Thu, 16 Oct 2014 10:38:31 -0600 Subject: [PATCH 2/2] added reference to ranked_image_keywords.cs in example/build.bat and module/build.bat --- example/build.bat | 2 ++ module/build.bat | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/example/build.bat b/example/build.bat index abdb262..21bb492 100644 --- a/example/build.bat +++ b/example/build.bat @@ -30,3 +30,5 @@ csc combined.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll csc taxonomy.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll csc image.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll + +csc ranked_image_keywords.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll -r:System.Drawing.dll diff --git a/module/build.bat b/module/build.bat index 1a1767d..38a3eca 100644 --- a/module/build.bat +++ b/module/build.bat @@ -1,4 +1,4 @@ -csc /target:library AlchemyAPI.cs AlchemyAPI_BaseParams.cs AlchemyAPI_CategoryParams.cs AlchemyAPI_ConceptParams.cs AlchemyAPI_ConstraintQueryParams.cs AlchemyAPI_EntityParams.cs AlchemyAPI_KeywordParams.cs AlchemyAPI_LanguageParams.cs AlchemyAPI_TextParams.cs AlchemyAPI_RelationParams.cs AlchemyAPI_TargetedSentimentParams.cs AlchemyAPI_CombinedDataParams.cs AlchemyAPI_TaxonomyParams.cs AlchemyAPI_ImageParams.cs -r:System.Data.dll -r:System.Web.dll +csc /target:library AlchemyAPI.cs AlchemyAPI_BaseParams.cs AlchemyAPI_CategoryParams.cs AlchemyAPI_ConceptParams.cs AlchemyAPI_ConstraintQueryParams.cs AlchemyAPI_EntityParams.cs AlchemyAPI_KeywordParams.cs AlchemyAPI_LanguageParams.cs AlchemyAPI_TextParams.cs AlchemyAPI_RelationParams.cs AlchemyAPI_TargetedSentimentParams.cs AlchemyAPI_CombinedDataParams.cs AlchemyAPI_TaxonomyParams.cs AlchemyAPI_ImageParams.cs AlchemyAPI_RankedImageKeywords.cs -r:System.Data.dll -r:System.Web.dll -r:System.Drawing.dll copy "AlchemyAPI.dll" "..\example\"