summaryrefslogtreecommitdiffstats
path: root/tasks/post_load.rake
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-19 10:23:12 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-19 10:23:12 +0200
commit4b29c337347b40528d672cd2e2b52b1c9efe33e5 (patch)
tree8c4bfd0e73790754a834491c69283767d173cde6 /tasks/post_load.rake
parenta378e73d9da612960d0cf3eef5011c13c0139c39 (diff)
downloadffi-efl-4b29c337347b40528d672cd2e2b52b1c9efe33e5.zip
ffi-efl-4b29c337347b40528d672cd2e2b52b1c9efe33e5.tar.gz
goto bundler
Diffstat (limited to 'tasks/post_load.rake')
-rw-r--r--tasks/post_load.rake35
1 files changed, 0 insertions, 35 deletions
diff --git a/tasks/post_load.rake b/tasks/post_load.rake
deleted file mode 100644
index 8ccdfc9..0000000
--- a/tasks/post_load.rake
+++ /dev/null
@@ -1,35 +0,0 @@
-# -*- coding: UTF-8 -*-
-#
-# This file does not define any rake tasks. It is used to load some project
-# settings if they are not defined by the user.
-
-PROJ.exclude << ["^#{Regexp.escape(PROJ.ann.file)}$",
- "^#{Regexp.escape(PROJ.ignore_file)}$",
- "^#{Regexp.escape(PROJ.rdoc.dir)}/",
- "^#{Regexp.escape(PROJ.rcov.dir)}/"]
-
-flatten_arrays = lambda do |this,os|
- os.instance_variable_get(:@table).each do |key,val|
- next if key == :dependencies \
- or key == :development_dependencies
- case val
- when Array; val.flatten!
- when OpenStruct; this.call(this,val)
- end
- end
- end
-flatten_arrays.call(flatten_arrays,PROJ)
-
-PROJ.changes ||= paragraphs_of(PROJ.history_file, 0..1).join("\n\n")
-
-PROJ.description ||= paragraphs_of(PROJ.readme_file, 'description').join("\n\n")
-
-PROJ.summary ||= PROJ.description.split('.').first
-
-PROJ.gem.files ||= manifest
-
-PROJ.gem.executables ||= PROJ.gem.files.find_all {|fn| fn =~ %r/^bin/}
-
-PROJ.rdoc.main ||= PROJ.readme_file
-
-# EOF