mirror of
https://github.com/zhigang1992/redpotion.git
synced 2026-01-12 17:43:23 +08:00
Changed live_stylesheets to live, because, well, that's too long to type. Updated RMQ to latest version
This commit is contained in:
@@ -153,7 +153,7 @@ You should have this:
|
||||
|
||||
## Live stylesheet reloading
|
||||
|
||||
In REPL, type: `live_stylesheets`
|
||||
In REPL, type: `live`
|
||||
|
||||

|
||||
|
||||
|
||||
1
Rakefile
1
Rakefile
@@ -21,7 +21,6 @@ Motion::Project::App.setup do |app|
|
||||
end
|
||||
|
||||
app.development do
|
||||
app.info_plist["ProjectRootPath"] = File.dirname(__FILE__)
|
||||
end
|
||||
end
|
||||
task :"build:simulator" => :"schema:build"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
## Live stylesheet reloading
|
||||
|
||||
In REPL, type: `live_stylesheets`
|
||||
In REPL, type: `live`
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
if RUBYMOTION_ENV == "development"
|
||||
module Kernel
|
||||
def live_stylesheets(interval = 0.5, debug=false)
|
||||
def live(interval = 1.0, debug=false)
|
||||
rmq_live_stylesheets interval, debug
|
||||
end
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
||||
|
||||
spec.executables << 'potion'
|
||||
|
||||
spec.add_runtime_dependency "ruby_motion_query", "~> 1.3.2"
|
||||
spec.add_runtime_dependency "ruby_motion_query", "~> 1.3.4"
|
||||
spec.add_runtime_dependency "ProMotion", "~> 2.3"
|
||||
spec.add_runtime_dependency "motion_print"
|
||||
spec.add_runtime_dependency "motion-cocoapods"
|
||||
|
||||
Reference in New Issue
Block a user