How to Paket in a batch file [solved]
See original GitHub issueDescription
I had to work this out myself. I thought it would work like Nuget does nuget.exe restore path\to\yr\VisualStudio.sln
but no.
Repro steps
Please provide the steps required to reproduce the problem
- Look on the Internets
Expected behavior
find an example of how to use paket in a batch file eg. restore
Actual behavior
I got nuthin
Known workarounds
keep trying different things until it works
Related information
- Operating system: Windows
Solution
pushd your\paket\working\folder\with\paket\in\it
paket.exe restore
popd
It would be handy if you could add this to pages like https://fsprojects.github.io/Paket/paket-restore.html
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
How to execute an SSIS package from the command line ...
How to execute an SSIS package from the command line or a batch file ... Right click in Solution Explorer to get the...
Read more >Package a batch file within a jar file
place the batch file somewhere in the source tree so that it becomes a "resource" included in the .jar. then either. use java.lang.Class....
Read more >Batch Script - Quick Guide
This is the simplest tool for creation of batch files. Next is the execution environment for the batch scripts. On Windows systems, this...
Read more >Writing a Windows batch script
After saving it with a .bat extension. Double click it to run the file. It prints shows: In the above script, ECHO off...
Read more >Basics of Batch Scripting
Type the batch script in the command prompt. Write the code of script in a file and execute it through the command prompt....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@CADbloke thanks, we now all understand why Santa would be sad not being able to install all the pakets 😃
ok. let’s clarify. you need to sta in the folder with the paket.dependencies file, but you can do
P:\ath\to\
Paket\paket.exe restore` from there