flak 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.
data/.gitignore CHANGED
@@ -2,4 +2,6 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  pkg/*
5
- .DS_Store
5
+ .DS_Store
6
+ *.bak
7
+ *~
data/lib/flak/rake/mod.rb CHANGED
@@ -13,12 +13,27 @@ module Flak
13
13
  end
14
14
 
15
15
 
16
+ def tar_filename
17
+ n = "#{@settings[:product_name]}-#{@settings[:product_revision]}"
18
+ n += "-#{@settings[:os]}" unless @settings[:agnostic]
19
+ n += ".tar.gz"
20
+ n
21
+ end
22
+
23
+ def file_to_tar
24
+ n = "#{@settings[:product_name]}/#{@settings[:product_revision]}"
25
+ n += "-#{@settings[:os]}" unless @settings[:agnostic]
26
+ n
27
+ end
28
+
29
+
30
+
16
31
  def mod_instance_tasks
17
32
 
18
33
  desc "Build and tar up product to tar.gz."
19
34
  task :tar => :release do
20
35
  Dir.chdir( @settings[:target_release_path] ) do |d|
21
- sh "tar cfz #{@settings[:product_name]}-#{@settings[:product_revision]}.tar.gz #{@settings[:product_name]}/#{@settings[:product_revision]}"
36
+ sh "tar cfz #{tar_filename} #{file_to_tar}"
22
37
  end
23
38
  end
24
39
 
@@ -8,9 +8,7 @@ module Flak
8
8
 
9
9
 
10
10
 
11
- ##########################################################################
12
- ############################ P R O J E C T ###############################
13
- ##########################################################################
11
+ # PROJECT
14
12
 
15
13
  TEMPLATES = ["env", "cpp", "delight","gl","mac","maya","maya_app","maya_plugin", "nuke", "doc", "mod"]
16
14
 
@@ -51,7 +51,7 @@ module Flak
51
51
  if options[:maya_module]
52
52
  h['maya_script_copy_files'] = ["config/script/maya/*.mel","config/script/maya/*.py","config/script/maya/*.pyc"]
53
53
  h['maya_script_erb_files'] = ["config/script/maya/erb/*.mel.erb","config/script/maya/erb/*.py.erb"]
54
- h['templates'] = ["maya", "doc"]
54
+ h['templates'] = ["maya", "doc","mod"]
55
55
  end
56
56
  h['shell_script_copy_files'] = ["config/script/shell/*.sh"]
57
57
  h['shell_script_erb_files'] = ["config/script/shell/erb/*.erb"]
@@ -32,29 +32,37 @@ p {
32
32
 
33
33
 
34
34
  code {
35
- display:inline-block;
36
- border-radius:5px;
37
- border : 1px solid $code_block_border_color;
38
- // width:auto;
39
35
  font-size: 1.1em;
40
-
36
+ border : 1px solid $code_block_border_color;
41
37
  background-color:$code_block_color;
42
38
  line-height:1.2em;
43
- // color:$src_code_color;
44
39
  padding: 0.05em 1em;
45
40
  }
41
+
42
+
46
43
  pre {
47
- width:50%;
48
-
49
- code {
44
+ overflow:auto;
45
+ max-width:650px;
46
+ border : 1px solid $code_block_border_color;
47
+ background-color:$code_block_color;
48
+ border-radius:5px;
49
+ display:inline-block;
50
+ padding: 0.05em 1em;
51
+ code {
52
+ background-color:none;
53
+ border :none;
50
54
  line-height:1.5em;
51
- }
52
-
55
+ padding: 0;
56
+ }
53
57
  }
58
+
59
+
60
+
54
61
 
55
62
  hr {
56
63
  clear:both;
57
64
  width: 100%;
65
+
58
66
  border-style: none;
59
67
  }
60
68
 
@@ -179,15 +187,29 @@ p {
179
187
 
180
188
 
181
189
  #main_container {
182
- display:table-row;
183
- list-style:none;
184
- width:100%;
190
+ display:table;
191
+ // list-style:none;
192
+ width:900px;
185
193
  height:100%;
186
-
194
+ table-layout:fixed;
187
195
 
188
196
  }
197
+
198
+ #body_container {
199
+ width: 750px;
200
+ margin-left:4%;
201
+ display:table-cell;
202
+ list-style:none;
203
+ padding:0 1em 3em 1em;
204
+ }
205
+ #body_inner_container {
206
+ width:700px;
207
+ }
208
+
209
+
189
210
  #sidebar {
190
- width: 20%;
211
+ width: 150px;
212
+ //min-width: 20%;
191
213
  padding-left:10px;
192
214
  display:table-cell;
193
215
  list-style:none;
@@ -232,13 +254,6 @@ p {
232
254
  }
233
255
 
234
256
  }
235
- #body_container {
236
- width: 80%;
237
- margin-left:4%;
238
- display:table-cell;
239
- list-style:none;
240
- padding:0 1em 3em 1em;
241
- }
242
257
 
243
258
  #footer {
244
259
 
@@ -11,14 +11,20 @@
11
11
  <div class="page">
12
12
  <%= create_header %>
13
13
  <%= create_meta %>
14
- <ol id="main_container">
15
- <li id="sidebar">
14
+
15
+ <div id="main_container">
16
+
17
+ <div id="sidebar">
16
18
  <%= toc %>
17
- </li>
18
- <li id="body_container">
19
+ </div>
20
+
21
+ <div id="body_container">
22
+ <div id="body_inner_container">
23
+
19
24
  <%= yield %>
20
- </li>
21
- </ol>
25
+ </div>
26
+ </div>
27
+ </div>
22
28
  <%= vfxoverflow_ribbon %>
23
29
 
24
30
  <%= footer %>
@@ -1,3 +1,7 @@
1
1
  build
2
+ doc/.sass*
3
+ /tmp
2
4
  .DS_Store
3
- tmp
5
+ *.idb
6
+ *.bak
7
+ *~
@@ -1,27 +1,15 @@
1
1
  os_linux_64:
2
2
  include_paths:
3
- - "/usr/local/Mesa-7.6/include"
4
3
  - '/usr/local/include/GL'
5
- lib_paths:
6
- - "/usr/local/Mesa-7.6/lib64"
4
+ lib_paths: []
7
5
  frameworks:
8
6
  - 'GL'
9
- - 'glut'
10
- compiler_options:
11
- - "-DFREEGLUT"
12
-
7
+ compiler_options: []
13
8
  os_darwin:
14
9
  frameworks:
15
10
  - 'OpenGL'
16
- - 'GLUT'
17
-
18
11
  os_win_64:
19
12
  libs:
20
13
  - 'opengl32'
21
14
  - 'glu32'
22
- - 'glut64'
23
- lib_paths:
24
- - 'C:/cygwin/home/<%= ENV['USER'] %>/glut-3.7.6-bin'
25
- include_paths:
26
- - 'C:/cygwin/home/<%= ENV['USER'] %>/glut-3.7.6-bin'
27
-
15
+
data/lib/flak/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Flak
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,79 +1,82 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: flak
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.3
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.0.4
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Julian Mann
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-27 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2012-02-29 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: thor
16
- requirement: &70332259564940 !ruby/object:Gem::Requirement
17
+ prerelease: false
18
+ requirement: &id001 !ruby/object:Gem::Requirement
17
19
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
22
24
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70332259564940
25
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
26
27
  name: awesome_print
27
- requirement: &70332259562220 !ruby/object:Gem::Requirement
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
28
30
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: "0"
33
35
  type: :runtime
34
- prerelease: false
35
- version_requirements: *70332259562220
36
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
37
38
  name: nanoc
38
- requirement: &70332259561800 !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id003 !ruby/object:Gem::Requirement
39
41
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: "0"
44
46
  type: :runtime
45
- prerelease: false
46
- version_requirements: *70332259561800
47
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
48
49
  name: RedCloth
49
- requirement: &70332259593100 !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id004 !ruby/object:Gem::Requirement
50
52
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
55
57
  type: :runtime
56
- prerelease: false
57
- version_requirements: *70332259593100
58
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
59
60
  name: sass
60
- requirement: &70332259592680 !ruby/object:Gem::Requirement
61
+ prerelease: false
62
+ requirement: &id005 !ruby/object:Gem::Requirement
61
63
  none: false
62
- requirements:
63
- - - ! '>='
64
- - !ruby/object:Gem::Version
65
- version: '0'
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "0"
66
68
  type: :runtime
67
- prerelease: false
68
- version_requirements: *70332259592680
69
+ version_requirements: *id005
69
70
  description: VFX tool build and documentation framework based on rake with thor generators
70
- email:
71
+ email:
71
72
  - julian.mann@gmail.com
72
- executables:
73
+ executables:
73
74
  - flak
74
75
  extensions: []
76
+
75
77
  extra_rdoc_files: []
76
- files:
78
+
79
+ files:
77
80
  - .gitignore
78
81
  - Gemfile
79
82
  - README.textile
@@ -135,11 +138,11 @@ files:
135
138
  - lib/flak/thor/templates/doc/content/index.txt.tt
136
139
  - lib/flak/thor/templates/doc/content/install_guide.txt.tt
137
140
  - lib/flak/thor/templates/doc/content/release_notes.txt.tt
138
- - lib/flak/thor/templates/doc/content/scenes/.empty_directory
139
- - lib/flak/thor/templates/doc/content/scenes/module_logo.psd
140
141
  - lib/flak/thor/templates/doc/content/tutorial.txt.tt
141
142
  - lib/flak/thor/templates/doc/layouts/default.html
142
143
  - lib/flak/thor/templates/doc/lib/helpers.rb
144
+ - lib/flak/thor/templates/doc/scenes/.empty_directory
145
+ - lib/flak/thor/templates/doc/scenes/module_logo.psd
143
146
  - lib/flak/thor/templates/env.tt
144
147
  - lib/flak/thor/templates/gitignore.tt
145
148
  - lib/flak/thor/templates/gl.tt
@@ -155,28 +158,32 @@ files:
155
158
  - lib/flak/thor/templates/product.sh.tt
156
159
  - lib/flak/thor/wizard.rb
157
160
  - lib/flak/version.rb
158
- homepage: ''
161
+ homepage: ""
159
162
  licenses: []
163
+
160
164
  post_install_message:
161
165
  rdoc_options: []
162
- require_paths:
166
+
167
+ require_paths:
163
168
  - lib
164
- required_ruby_version: !ruby/object:Gem::Requirement
169
+ required_ruby_version: !ruby/object:Gem::Requirement
165
170
  none: false
166
- requirements:
167
- - - ! '>='
168
- - !ruby/object:Gem::Version
169
- version: '0'
170
- required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: "0"
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
171
176
  none: false
172
- requirements:
173
- - - ! '>='
174
- - !ruby/object:Gem::Version
175
- version: '0'
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: "0"
176
181
  requirements: []
182
+
177
183
  rubyforge_project: flak
178
- rubygems_version: 1.8.10
184
+ rubygems_version: 1.8.15
179
185
  signing_key:
180
186
  specification_version: 3
181
187
  summary: build system for VFX tools
182
188
  test_files: []
189
+