From a25f8c5b811bbd4e6221ac0b63167fa8eaa41bef Mon Sep 17 00:00:00 2001 From: sfc-gh-ext-simba-lf <115584722+sfc-gh-ext-simba-lf@users.noreply.github.com> Date: Tue, 19 Mar 2024 08:48:58 -0700 Subject: [PATCH] SNOW-825595: Update setup instruction for non-Windows environment (#885) ### Description Update README.md with instructions for building on Non-Windows ### Checklist - [ ] Code compiles correctly - [ ] Code is formatted according to [Coding Conventions](../CodingConventions.md) - [ ] Created tests which fail without the change (if possible) - [ ] All tests passing (`dotnet test`) - [ ] Extended the README / documentation, if necessary - [ ] Provide JIRA issue id (if possible) or GitHub issue id in PR name --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 964402fa1..41a7d61da 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ This project is developed under Visual Studio 2017. Earlier versions of Visual S ## Steps +Prerequisites: Install dotnet, git, nuget, and mono (Only on Mac) + 1. Check out the source code from GitHub: ```{r, engine='bash', code_block_name} @@ -41,9 +43,15 @@ nuget restore ``` 3. Build the solution file - +- To build the connector only: ```{r, engine='bash', code_block_name} -msbuild snowflake-connector-net.sln /p:Configuration=Release +cd Snowflake.Data +dotnet build --configuration Release +``` +- To build the connector and test project: +``` +Add a parameters.json file to Snowflake.Data.Tests +dotnet build ``` # Installing the Package