Marusyk / grok.net

.NET implementation of the grok 📝
MIT License
290 stars 55 forks source link

Add possibility to pass Target argument to build.ps1 and build.sh #43

Closed Marusyk closed 2 years ago

Marusyk commented 3 years ago

Now, the build.ps1 and build.sh just restore tools and run dotnet cake command. It would be great to have possibility to pass Target argument

.\build.ps1 --target Test
mohitsaxenaknoldus commented 3 years ago

Please assign it to me, I'll do it.

Marusyk commented 3 years ago

Hi @mohitsaxenaknoldus it's yours

mohitsaxenaknoldus commented 3 years ago

Hi @mohitsaxenaknoldus it's yours

So you want a single file to work for both Windows and Linux by passing the target machine variable?

Marusyk commented 3 years ago

no, I wanna have possibility to pass Target argument to build.ps1 and build.sh

mohitsaxenaknoldus commented 3 years ago

no, I wanna have possibility to pass Target argument to build.ps1 and build.sh

So you want to pass a variable which you can use inside build.ps1 and build.sh?

Marusyk commented 3 years ago

Do you familiar with cake? I need to pass Target to it when I run build.ps1 or build.sh

mohitsaxenaknoldus commented 3 years ago

Do you familiar with cake? I need to pass Target to it when I run build.ps1 or build.sh

I am not familiar with cake but I know shell and powershell. Just give me a basic overview of what we want to achieve here and I'll implement it.

Marusyk commented 3 years ago

all requirements are above you need cake to test it