Browse files

Preparing for some tracking stuff (install your own)

  • Loading branch information...
1 parent 1308089 commit 5ba6781f6de5e73f2db0eb417e11fdea77431114 @gus gus committed Dec 26, 2009
Showing with 7 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +5 −4 deploy.rb
  3. +1 −0 public/index.html
View
1 .gitignore
@@ -1,2 +1,3 @@
.DS_Store
production.rb
+public/javascripts/tracking.js
View
9 deploy.rb
@@ -12,13 +12,14 @@
# Routine tasks
namespace :deploy do
- # remote_task :symlink_configs, :roles => :app do
- # run "ln -nfs #{shared_path}/something #{latest_release}/something"
- # end
+ remote_task :symlink_configs, :roles => :app do
+ tracking_path = "public/javascripts/tracking.js"
+ run "ln -nfs #{shared_path}/#{tracking_path} #{latest_release}/#{tracking_path}"
+ end
end
remote_task 'vlad:update_symlinks', :roles => :app do
- # Rake::Task['deploy:symlink_configs'].invoke
+ Rake::Task['deploy:symlink_configs'].invoke
end
desc "Deploys the latest set of code (use this most often)"
View
1 public/index.html
@@ -71,5 +71,6 @@
<script src="/javascripts/app/tree.js"></script>
<script src="/javascripts/app/tabs.js"></script>
<script src="/javascripts/app/jubilator.js"></script>
+ <script src="/javascripts/tracking.js"></script>
</body>
</html>

0 comments on commit 5ba6781

Please sign in to comment.