ninjarobot / FsPdf

Builds PDF's from pure F# (and needs a more interesting name)
MIT License
121 stars 4 forks source link

Paket bootstrapper #6

Closed EBrown8534 closed 2 years ago

EBrown8534 commented 5 years ago

I have no idea if this is a PR you'll consider, so I'll make it and leave judgement up to you.

Obviously we are using paket here, which is fine, but if we're going to do that I think we should make the assumption that some folks don't want to install paket as a global tool (i.e. me). The wonderful folks who created paket created a way to use it without the global tool, via the bootstrapper. This effectively downloads an appropriate paket version and puts it in the .paket directory.

This PR pulls the paket.bootstrapper.exe in, and updates the .gitignore as recommended by paket:

https://fsprojects.github.io/Paket/installation.html

The most common use of Paket is as a command line tool inside your project repository.

  1. Create a .paket directory in the root of your solution.
  2. Download the latest paket.bootstrapper.exe into that directory.
  3. Run .paket/paket.bootstrapper.exe. It will download the latest paket.exe. > linux/osx: Run mono .paket/paket.bootstrapper.exe
  4. Commit .paket/paket.bootstrapper.exe into your repository and add .paket/paket.exe to your .gitignore file.

You can now run Paket from the command line: .paket/paket.exe install

ninjarobot commented 2 years ago

I moved this off paket, so closing this.