diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:59:20 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-08-05 17:15:44 +0100 |
commit | cfebfc571c6a3f8323cd20ca4bb1d754442b0f1f (patch) | |
tree | 24b3564b27e52717b5a09be7d52529b177aee68a /gnu/packages/patches/ruby-coffee-rails-fix-rakefile.patch | |
parent | 5db2d8ffb5d8529daef7060284fda6d8f5f441ed (diff) | |
download | guix-cfebfc571c6a3f8323cd20ca4bb1d754442b0f1f.tar guix-cfebfc571c6a3f8323cd20ca4bb1d754442b0f1f.tar.gz |
gnu: Add ruby-coffee-rails.
Diffstat (limited to 'gnu/packages/patches/ruby-coffee-rails-fix-rakefile.patch')
-rw-r--r-- | gnu/packages/patches/ruby-coffee-rails-fix-rakefile.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/patches/ruby-coffee-rails-fix-rakefile.patch b/gnu/packages/patches/ruby-coffee-rails-fix-rakefile.patch new file mode 100644 index 0000000000..bd98812da7 --- /dev/null +++ b/gnu/packages/patches/ruby-coffee-rails-fix-rakefile.patch @@ -0,0 +1,20 @@ +diff --git a/Rakefile b/Rakefile +index ae682dc..fdf146d 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -13,12 +13,12 @@ end + task default: :test + + specname = "coffee-rails.gemspec" +-deps = `git ls-files`.split("\n") - [specname] ++deps = `find . -type f -print0 |sort`.split("\n") - [specname] + + file specname => deps do + files = ["CHANGELOG.md", "MIT-LICENSE", "README.md"] + `git ls-files -- lib`.split("\n") +- test_files = `git ls-files -- {test,spec,features}/*`.split("\n") +- executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } ++ test_files = `ls test/*`.split("\n") ++ executables = [] + + require 'erb' + |