forked from tildeio/router.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- major restructuring of code - better handling of complex corner cases of pivoting - query params rewrite - es6ify - smaller, more focused tests Paired w @twokul on the ES6 stuff
- Loading branch information
Showing
54 changed files
with
6,257 additions
and
8,661 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/.bundle | ||
/dist | ||
/tmp | ||
/node_modules |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
--- | ||
env: | ||
global: | ||
- S3_BUCKET_NAME=routerjs.builds.emberjs.com | ||
- secure: ! 'TafdUQgYdnuj20fSRX9pv8hGsPG5PkNs8Nq+j5IYoZnD2FSNFdzq1o9mwEsS | ||
KxhHOGDn/ZVw+GzxfZksLr1CfdwqbXtUPDrpHIG1JHrZ3cbYQ9U6vY7uY5GJ | ||
xypZPhqzHkN8D4RG+NY7mbKtxYsMsH/G15u6qsquixTyWe1VlIw=' | ||
- secure: ! 'YG1i+TUkEmTpFxwgNjkE4AYrzEdM+1QAX/cRSrno8xJoo3dSQMoFxtF46V6B | ||
4yqfe/+pNQtUjC8P0ooOxeuE4QLQ8GoWNpPwvsYeXC+jIcT/YZWTTtAjS7ss | ||
tThLHIl+R69ejdQggC2WbaN8Co20CvsdtW5v7ZOBoaW4+DZLBAI=' | ||
after_success: 'bundle exec rake publish' | ||
language: node_js | ||
node_js: | ||
- '0.10' | ||
before_install: | ||
- npm install -g grunt-cli | ||
env: | ||
global: | ||
- secure: QZR44UCwwszJZ81cofiYtGFsLLmHOTAthS+XIgnxzztBRWjcivrfO+v55J39umwkYWqcBIxhTf4e3SALxB2QwLLb0KP17lRheEXd4fJP68UIYhQzOUHJYM+wm+WyWamJf61h5n3lp9Kf75EQrr50aTO0WYeReCLgpeq57p5F20Y= | ||
- secure: SQaq0nDaew5Jwm1yB480Iln4/6Sg2n46q7zoanYect+vQNrKWJGcJGMp5Jq9mbDiDZLRpdazAGWyUQJRLaTLfosEx6V798dECDqkCue3hHY96AggYZQnXLh0QKnHeSVjN9Jr1x8wHkxMmvAG3zXkbhuPhD8hYOycJJLg4GLvXAo= | ||
after_success: grunt build s3:dev |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module.exports = function(grunt) { | ||
var config = require('load-grunt-config')(grunt, { | ||
configPath: 'tasks/options', | ||
init: false | ||
}); | ||
|
||
grunt.loadTasks('tasks'); | ||
|
||
this.registerTask('default', ['build']); | ||
|
||
// Run client-side tests on the command line. | ||
this.registerTask('test', 'Runs tests through the command line using PhantomJS', [ | ||
'build', 'tests', 'qunit' | ||
]); | ||
|
||
// Run a server. This is ideal for running the QUnit tests in the browser. | ||
this.registerTask('server', ['build', 'tests', 'connect', 'watch:server']); | ||
|
||
|
||
// Build test files | ||
this.registerTask('tests', 'Builds the test package', ['concat:deps', | ||
'transpile:testsAmd', 'transpile:testsCommonjs', 'buildTests:dist']); | ||
|
||
// Build a new version of the library | ||
this.registerTask('build', 'Builds a distributable version of <%= cfg.name %>', | ||
['clean', 'transpile:amd', 'transpile:commonjs', 'concat:amdNoVersion', | ||
'concat:browser', 'browser:distNoVersion', 'jshint', 'uglify:browserNoVersion']); | ||
|
||
config.env = process.env; | ||
config.pkg = grunt.file.readJSON('package.json'); | ||
// Load custom tasks from NPM | ||
grunt.loadNpmTasks('grunt-browserify'); | ||
// Merge config into emberConfig, overwriting existing settings | ||
grunt.initConfig(config); | ||
}; |
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
Oops, something went wrong.