haf / YoLo

Effing utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You should use Paket's github dependency to include the YoLo.fs file into your
project.

  https://fsprojects.github.io/Paket/github-dependencies.html

Or in short:

  github haf/YoLo YoLo.fs

Because it's licensed under the wtf-you-want license you can use this code in
any way you want.

Run this when you want to adapt YoLo to your project:

  ruby -pi.bak -e "gsub(/module internal YoLo/, 'module internal YOURNAMESPACE.YoLo')" paket-files/haf/YoLo/YoLo.fs
  
If you're using Rakefile:

  task :paket_replace do
    sh %{ruby -pi.bak -e "gsub(/module internal YoLo/, 'module internal YOURNAMESPACE.YoLo')" paket-files/haf/YoLo/YoLo.fs}
  end
  
  task :paket_restore do
    system 'tools/paket.exe', 'install', clr_command: true
  end
  
  desc 'Restore packages'
  task :restore => [:paket_restore, :paket_replace]

Also, if you want to compile out-of-the box you can just add paket-files/haf/YoLo.fs to your SCM system.

About

Effing utilities.

License:Other


Languages

Language:F# 100.0%