Skip to content

Commit 318ef08

Browse files
committed
move rack mini profiler into its new home
1 parent e7558fc commit 318ef08

13 files changed

+2265
-26
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'http://rubygems.org'
22

3-
gemspec :path => '../'
3+
gemspec
44

55
gem 'therubyracer', :require => 'v8'
66
gem 'less'

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH
2-
remote: /home/sam/Source/MiniProfiler
2+
remote: .
33
specs:
44
rack-mini-profiler (0.1.31)
55
rack (>= 1.1.3)

Rakefile

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ end
1313

1414
desc "builds a gem"
1515
task :build => :update_asset_version do
16-
Dir.chdir("..") do
17-
`gem build rack-mini-profiler.gemspec 1>&2 && mv *.gem Ruby/`
18-
end
16+
`gem build rack-mini-profiler.gemspec 1>&2`
1917
end
2018

2119
desc "compile less"
@@ -43,17 +41,6 @@ end
4341

4442
desc "copy files from other parts of the tree"
4543
task :copy_files do
46-
`rm -R -f lib/html && mkdir lib/html 1>&2`
47-
path = ('../../../StackExchange.Profiling/UI')
48-
`ln -s #{path}/includes.less lib/html/includes.less`
49-
`ln -s #{path}/includes.js lib/html/includes.js`
50-
`ln -s #{path}/includes.tmpl lib/html/includes.tmpl`
51-
`ln -s #{path}/jquery.1.7.1.js lib/html/jquery.1.7.1.js`
52-
`ln -s #{path}/jquery.tmpl.js lib/html/jquery.tmpl.js`
53-
`ln -s #{path}/list.css lib/html/list.css`
54-
`ln -s #{path}/list.js lib/html/list.js`
55-
`ln -s #{path}/list.tmpl lib/html/list.tmpl`
56-
`ln -s #{path}/include.partial.html lib/html/profile_handler.js`
57-
`ln -s #{path}/share.html lib/html/share.html`
44+
# TODO grab files from MiniProfiler/UI
5845
end
5946

lib/html/includes.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)