Skip to content

Instantly share code, notes, and snippets.

@beatcracker
Last active September 14, 2019 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beatcracker/4203a90a877f26632582cb75c90802d5 to your computer and use it in GitHub Desktop.
Save beatcracker/4203a90a877f26632582cb75c90802d5 to your computer and use it in GitHub Desktop.
"paket remove" repro
@echo off
setlocal
set paket=.paket\paket.exe
set deps=paket.dependencies
set lock=paket.lock
set type=--type clitool
rem Uncomment this line to use nuget package type
rem set type=
del %deps% > nul
del %lock% > nul
%paket% init
echo.
echo ------------------------------
echo Empty: %deps%
echo ------------------------------
echo.
type %deps%
echo.
echo.
echo ------------------------------
echo.
%paket% add Invoke-Build %type%
echo.
echo ------------------------------
echo Package added: %deps%
echo ------------------------------
echo.
type %deps%
echo.
echo.
echo -------------------------------
echo.
%paket% remove Invoke-Build
echo.
echo ------------------------------
echo Package removed: %deps%
echo ------------------------------
echo.
type %deps%
echo.
echo.
echo -------------------------------
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment