This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew doctor | |
Warning: A Python is installed in /Library/Frameworks | |
Homebrew only supports building against the System-provided Python or a | |
brewed Python. In particular, Pythons installed to /Library can interfere | |
with other software installs. | |
Warning: /usr/local/share/python is not needed in PATH. | |
Formerly homebrew put Python scripts you installed via `pip` or `pip3` | |
(or `easy_install`) into that directory above but now it can be removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
uglify: { | |
my_target: { | |
files: { | |
'build/myscript.min.js': ['lib/myscript.js'] | |
} | |
} | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
karma: { | |
run: { | |
configFile: 'karma.conf.js', | |
singleRun: true | |
}, | |
}, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.initConfig({ | |
karma: { | |
dev: { | |
configFile: 'karma.conf.js', | |
autoWatch: true | |
} | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('fxpay', function() { | |
describe('purchase()', function() { | |
it('should error if mozPay() is undefined', function(done) { | |
var productId = '123'; | |
fxpay.purchase(productId, { | |
onpurchase: function(error) { | |
assert.equal(error, 'PAY_PLATFORM_UNAVAILABLE'); | |
done(); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('fxpay', function () { | |
describe('API', function() { | |
var api; | |
var server; | |
beforeEach(function() { | |
api = new fxpay.API(); | |
server = sinon.fakeServer.create(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.initConfig({ | |
karma: { | |
run: { | |
configFile: 'karma.conf.js', | |
singleRun: true, | |
browsers: ['PhantomJS'] | |
}, | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
node_js: | |
- 0.10 | |
before_script: | |
- npm rebuild | |
script: grunt karma:run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_script: | |
- npm rebuild | |
- "export DISPLAY=:99.0" | |
- "sh -e /etc/init.d/xvfb start" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grunt.initConfig({ | |
jshint: { | |
options: { jshintrc: __dirname + '/.jshintrc' }, | |
files: [ | |
'Gruntfile.js', | |
'lib/*.js', | |
'test/*.js', | |
], | |
} | |
}); |
OlderNewer