Permalink
Browse files

Merge pull request #22 from kaofelix/master

A small fix and complete packaging for Marmalade
  • Loading branch information...
2 parents d9e7523 + 4bd8f19 commit cb63aaaed8301abdedf47ef14fcc0649405f3e08 @michaelklishin committed May 16, 2012
Showing with 14 additions and 2 deletions.
  1. +11 −0 Makefile
  2. +1 −0 feature-mode-pkg.el
  3. +1 −1 feature-mode.el
  4. +1 −1 support/find_step.rb
View
@@ -0,0 +1,11 @@
+PKG_DIR = feature-mode-0.4
+FILES_TO_PACK = feature-mode.el feature-mode-pkg.el i18n.yml snippets support
+
+package:
+ mkdir $(PKG_DIR)
+ cp -R $(FILES_TO_PACK) $(PKG_DIR)
+ tar -cf $(PKG_DIR).tar $(PKG_DIR)
+
+clean:
+ rm -r $(PKG_DIR)
+ rm $(PKG_DIR).tar
View
@@ -0,0 +1 @@
+(define-package "feature-mode" "0.4" "Major mode for editing Gherkin (i.e. Cucumber) user stories")
View
@@ -1,5 +1,5 @@
;;; feature-mode.el --- Major mode for editing Gherkin (i.e. Cucumber) user stories
-;;; Version: 0.2
+;;; Version: 0.4
;;; Author: Michael Klishin
;;; URL: https://github.com/michaelklishin/cucumber.el
;;; Uploader: Kao Félix
View
@@ -66,7 +66,7 @@ def extract_steps(sexp)
input_text = ARGV[0].strip.gsub(/(When|Then|Given|And) */, "")
-files = Dir["features/**/*/**/*_steps.rb"]
+files = Dir["features/**/*steps.rb"]
steps = []
files.each do |file|
steps.concat(StepParser.new(file).steps)

0 comments on commit cb63aaa

Please sign in to comment.