fluby 0.7.3 → 0.7.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.mdown +3 -2
- data/VERSION +1 -1
- data/lib/templates/Rakefile +3 -5
- metadata +1 -1
data/README.mdown
CHANGED
@@ -23,11 +23,12 @@ To create a new project:
|
|
23
23
|
To compile your brand new project:
|
24
24
|
|
25
25
|
cd ProjectName
|
26
|
-
|
26
|
+
fluby
|
27
27
|
|
28
28
|
That should generate a 'ProjectName.swf' file on the 'deploy' folder. The SWF file is debug-enabled (i.e: you can see the trace() output if you have a debug Flash Player). If you want to release your project without debug information, run
|
29
29
|
|
30
|
-
|
30
|
+
fluby release
|
31
|
+
|
31
32
|
|
32
33
|
|
33
34
|
### More Rake tasks
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.4
|
data/lib/templates/Rakefile
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require "fluby"
|
2
1
|
require 'rake/packagetask'
|
3
2
|
|
4
3
|
Rake::PackageTask.new("<%= @project_name %>", :noversion) do |p|
|
@@ -9,7 +8,6 @@ Rake::PackageTask.new("<%= @project_name %>", :noversion) do |p|
|
|
9
8
|
end
|
10
9
|
|
11
10
|
task :monitor do
|
12
|
-
command = "rake"
|
13
11
|
files = {}
|
14
12
|
|
15
13
|
Dir["*.as","*.rxml","*.rhtml","Rakefile"].each { |file|
|
@@ -24,7 +22,7 @@ task :monitor do
|
|
24
22
|
if changed_file
|
25
23
|
files[changed_file] = File.mtime(changed_file)
|
26
24
|
puts "=> #{changed_file} changed, running #{command}"
|
27
|
-
system(
|
25
|
+
system('fluby')
|
28
26
|
puts "=> done"
|
29
27
|
end
|
30
28
|
end
|
@@ -36,13 +34,13 @@ end
|
|
36
34
|
|
37
35
|
desc "Build <%= @project_name %>"
|
38
36
|
task :build do
|
39
|
-
system('fluby
|
37
|
+
system('fluby')
|
40
38
|
end
|
41
39
|
|
42
40
|
desc "Build a release version of <%= @project_name %> (with trace() disabled)"
|
43
41
|
task :release do
|
44
42
|
system('fluby release')
|
45
|
-
system('rake
|
43
|
+
system('rake package')
|
46
44
|
end
|
47
45
|
|
48
46
|
task :default => [:test]
|