We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0e0c72 commit 5c53b54Copy full SHA for 5c53b54
app/models/helix_pi_repo.rb
@@ -7,12 +7,21 @@ def setup
7
Dir.chdir 'helix-pi' do
8
`git checkout master`
9
`git fetch`
10
+ `npm install`
11
end
12
13
14
def checkout(hash)
15
- `git checkout #{hash}`
16
+ `git checkout #{hash} -- .`
17
+
18
19
+ helix_pi_lines = File.readlines('helix.js')
20
21
+ if helix_pi_lines.first.include? 'babel'
22
+ helix_pi_lines.shift
23
+ File.write('helix.js', helix_pi_lines.join("\n"))
24
+ end
25
26
27
benchmark.js
@@ -1,4 +1,4 @@
1
-var helixPi = require('./helix-pi');
+var helixPi = require('./helix-pi/helix');
2
3
var fitnessScenarios = {
4
participants: ['swordsunit', 'ball'],
0 commit comments