Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #22 from kaofelix/master

A small fix and complete packaging for Marmalade
  • Loading branch information...
commit cb63aaaed8301abdedf47ef14fcc0649405f3e08 2 parents d9e7523 + 4bd8f19
Michael Klishin authored
View
11 Makefile
@@ -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
1  feature-mode-pkg.el
@@ -0,0 +1 @@
+(define-package "feature-mode" "0.4" "Major mode for editing Gherkin (i.e. Cucumber) user stories")
View
2  feature-mode.el
@@ -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
2  support/find_step.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.