auser-skelerl 0.0.3 → 0.0.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.
Files changed (4) hide show
  1. data/lib/skelerl.rb +1 -1
  2. data/skelerl.gemspec +4 -4
  3. data/tasks/build.rake +25 -14
  4. metadata +4 -4
data/lib/skelerl.rb CHANGED
@@ -16,7 +16,7 @@ end
16
16
  module Skelerl
17
17
 
18
18
  module VERSION
19
- STRING = "0.0.3"
19
+ STRING = "0.0.4"
20
20
  end
21
21
 
22
22
  end
data/skelerl.gemspec CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{skelerl}
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ari Lerner"]
9
- s.date = %q{2009-02-07}
10
- s.description = %q{This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Sat Feb 07 16:35:38 -0800 2009}
9
+ s.date = %q{2009-02-09}
10
+ s.description = %q{This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Mon Feb 09 18:49:15 -0800 2009}
11
11
  s.email = ["arilerner@mac.com"]
12
12
  s.executables = ["gen_server", "skelerl"]
13
13
  s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt", "generators/skeleton/templates/README.txt"]
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
  s.rubyforge_project = %q{skelerl}
21
21
  s.rubygems_version = %q{1.3.1}
22
- s.summary = %q{This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Sat Feb 07 16:35:38 -0800 2009}
22
+ s.summary = %q{This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Mon Feb 09 18:49:15 -0800 2009}
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
data/tasks/build.rake CHANGED
@@ -39,13 +39,6 @@ desc "Compile everything"
39
39
  task :compile => ["src:compile", "test:compile"]
40
40
  task :recompile => ["clean", "src:compile", "test:compile"]
41
41
 
42
- desc "Compile deps"
43
- task :compile_deps do
44
- DEPS_FILES.each do |dir|
45
- Kernel.system "cd #{dir} && rake compile"
46
- end
47
- end
48
-
49
42
  namespace :src do
50
43
  desc "Compile src"
51
44
  task :compile => ['ebin'] + SRC_OBJ
@@ -114,19 +107,37 @@ end
114
107
  desc "Shell command"
115
108
  task :shell do
116
109
  cmd = "erl -pa ./ebin #{EXTRA_ERLC} -boot start_sasl"
110
+ puts cmd if Rake.application.options.trace
117
111
  Kernel.system cmd
118
112
  end
119
113
 
120
- desc "Update submodules"
121
- task :update do
122
- cmd = "git submodule update"
123
- DEPS_FILES.each do |dir|
124
- Kernel.system "cd #{dir} && #{cmd}"
125
- end
114
+ namespace(:deps) do
115
+ desc "Compile deps"
116
+ task :compile do
117
+ DEPS_FILES.each do |dir|
118
+ Kernel.system "cd #{dir} && rake compile"
119
+ end
120
+ end
121
+
122
+ desc "Update deps/"
123
+ task :update do
124
+ update_cmd = "git remote update && git merge origin/master" # "git fetch && git rebase origin/master"
125
+ DEPS_FILES.each do |dir|
126
+ cmd = "cd #{dir} && #{update_cmd}"
127
+ puts cmd if Rake.application.options.trace
128
+ Kernel.system cmd
129
+ end
130
+ end
131
+
132
+ desc "Update and compile deps/"
133
+ task :up => [:update, :compile]
126
134
  end
127
135
 
128
136
  desc "Build eunit"
129
137
  task :build_eunit do
130
138
  cmd = "cd test/include/eunit && make"
131
139
  Kernel.system cmd
132
- end
140
+ end
141
+
142
+ desc "Compile and get a shell"
143
+ task :compile_shell => [:compile, :shell]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auser-skelerl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-07 00:00:00 -08:00
12
+ date: 2009-02-09 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.8.0
23
23
  version:
24
- description: This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Sat Feb 07 16:35:38 -0800 2009
24
+ description: This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Mon Feb 09 18:49:15 -0800 2009
25
25
  email:
26
26
  - arilerner@mac.com
27
27
  executables:
@@ -104,6 +104,6 @@ rubyforge_project: skelerl
104
104
  rubygems_version: 1.2.0
105
105
  signing_key:
106
106
  specification_version: 2
107
- summary: This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Sat Feb 07 16:35:38 -0800 2009
107
+ summary: This skeleton app takes care of everything you'd need in an erlang application, but don't want to do yourself... Check out the README for more! Mon Feb 09 18:49:15 -0800 2009
108
108
  test_files: []
109
109