Skip to content

Commit

Permalink
Preparing for some tracking stuff (install your own)
Browse files Browse the repository at this point in the history
  • Loading branch information
gus committed Dec 26, 2009
1 parent 1308089 commit 5ba6781
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
production.rb
public/javascripts/tracking.js
9 changes: 5 additions & 4 deletions deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.