Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
chromebrew
Commits
bb12c589
Commit
bb12c589
authored
Nov 11, 2017
by
Casey Strouse
Committed by
GitHub
Nov 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1403 from uberhacker/add-octane-package
Add octane package
parents
05977c7d
67a30152
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
packages/octane.rb
packages/octane.rb
+28
-0
No files found.
packages/octane.rb
0 → 100644
View file @
bb12c589
require
'package'
class
Octane
<
Package
description
'The JavaScript Benchmark Suite for the modern web https://developers.google.com/octane/.'
homepage
'https://github.com/chromium/octane'
version
'2.0'
source_url
'https://github.com/chromium/octane/archive/570ad1ccfe86e3eecba0636c8f932ac08edec517.tar.gz'
source_sha256
'c355dd9a37df421826f3d8028d89e8c8b58faa12a49da88fa2641788f9482fe7'
binary_url
({
})
binary_sha256
({
})
def
self
.
install
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/share/octane"
system
"cp -r .
#{
CREW_DEST_PREFIX
}
/share/octane"
end
def
self
.
postinstall
puts
puts
"To perform a benchmark test, execute the following:"
.
lightblue
puts
"ruby -run -e httpd
#{
CREW_PREFIX
}
/share/octane/ -p 8080"
.
lightblue
puts
"Visit http://localhost:8080"
.
lightblue
puts
"Click 'Start Octane 2.0'"
.
lightblue
puts
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment