Skip to content

Commit

Permalink
- pakefile updated
Browse files Browse the repository at this point in the history
  • Loading branch information
guneysus committed Mar 19, 2022
1 parent a41c34f commit b48dffd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/Rende/pakefile.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$default = 'test'

function publish {
dotnet nuget push -s https://www.myget.org/F/guneysu/api/v2/package -k $env:MYGET_API_KEY .\nupkg\Rende.0.0.2-alpha.nupkg
dotnet nuget push -s https://www.myget.org/F/guneysu/api/v2/package -k $env:MYGET_API_KEY .\nupkg\Rende.0.0.6-alpha.nupkg
}

function develop {
Expand All @@ -10,7 +10,7 @@ function develop {
dotnet run -- -s -e scriban -t .\samples\template.sc -m .\samples\scriban.json
}

function install {
function local_install {
dotnet tool install --add-source ./nupkg rende --prerelease
}
function uninstall {
Expand All @@ -20,11 +20,14 @@ function uninstall {
function test {
dotnet build
dotnet pack
install
local_install
dotnet rende -s -e fluid -t .\samples\template.fl -m .\samples\fluid.json
# dotnet rende -s -e handlebars -t .\samples\template.hb -m .\samples\handlebars.json
# dotnet rende -s -e scriban -t .\samples\template.sc -m .\samples\scriban.json
dotnet rende -s -e handlebars -t .\samples\template.hb -m .\samples\handlebars.json
dotnet rende -s -e scriban -t .\samples\template.sc -m .\samples\scriban.json

dotnet tool uninstall rende
}

function global_install {
dotnet tool install -g Rende --version 0.0.6-alpha --add-source https://www.myget.org/F/guneysu/api/v3/index.json
}

0 comments on commit b48dffd

Please sign in to comment.