Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haf/yolo
Effing utilities.
https://github.com/haf/yolo
Last synced: about 2 months ago
JSON representation
Effing utilities.
- Host: GitHub
- URL: https://github.com/haf/yolo
- Owner: haf
- License: other
- Created: 2015-08-16T17:20:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-15T10:49:18.000Z (over 3 years ago)
- Last Synced: 2024-11-01T13:42:16.306Z (about 2 months ago)
- Language: F#
- Size: 47.9 KB
- Stars: 24
- Watchers: 2
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
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.