guard-erlang 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -6,6 +6,8 @@ Guard::Erlang watch your *.erl and compile whit changed.
6
6
 
7
7
  Guard::Erlang watch your ebin/*.beam and run Module:test() whit test/0 exist.
8
8
 
9
+ Run all action is execute "erl -pa ebin -make"
10
+
9
11
  ## Installation
10
12
 
11
13
  Add this line to your application's Gemfile:
@@ -3,6 +3,7 @@ require 'guard/guard'
3
3
  module Guard
4
4
  class Erlang < Guard
5
5
  def run_all
6
+ puts `erl -pa ebin -make`
6
7
  end
7
8
 
8
9
  def run_on_change(paths)
@@ -33,7 +34,7 @@ module Guard
33
34
  end
34
35
 
35
36
  def eunit(m)
36
- "erl -pa #{Dir.pwd}/ebin -eval '#{m}:test()' -s init stop -noshell"
37
+ "erl -sname test -pa #{Dir.pwd}/ebin -eval '#{m}:test()' -s init stop -noshell"
37
38
  end
38
39
  end
39
40
  end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module Erlang
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-erlang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-16 00:00:00.000000000Z
12
+ date: 2012-02-18 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70180395408260 !ruby/object:Gem::Requirement
16
+ requirement: &70359516832860 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.8.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70180395408260
24
+ version_requirements: *70359516832860
25
25
  description: Guard::Erlang automatically compile your erlang file & run Module:test()
26
26
  email:
27
27
  - jackchiu.org@gmail.com