Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haf/yolo

Effing utilities.
https://github.com/haf/yolo

Last synced: about 2 months ago
JSON representation

Effing utilities.

Awesome Lists containing this project

README

        

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.