Permalink
Browse files

Remove profile script

  • Loading branch information...
1 parent 30697ea commit 5ef42d623069a0d60b232b53045d8103975f2685 @josh josh committed Apr 3, 2011
Showing with 0 additions and 29 deletions.
  1. +0 −29 profile.rb
View
@@ -1,29 +0,0 @@
-$:.unshift "/Volumes/GitHub/sprockets/lib"
-$:.unshift "/Users/josh/.rip/sprockets/lib"
-
-require 'sprockets'
-require 'sprockets/errors'
-
-env = Sprockets::Environment.new(".")
-env.paths << File.expand_path("../test/fixtures/default", __FILE__)
-env.static_root = File.expand_path("../test/fixtures/public", __FILE__)
-
-def dtruss(&block)
- pid = fork do
- sleep 3
- block.call
- end
-
- fork do
- exec "dtruss", "-p", pid.to_s
- end
-
- Process.wait pid
- system "killall", "dtrace"
-end
-
-env["application.js"]
-
-dtruss do
- env.path("application.js")
-end

0 comments on commit 5ef42d6

Please sign in to comment.