Skip to content

Commit

Permalink
add check-licence
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Jan 22, 2015
1 parent 6ba3b98 commit 2c515fd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"jshint": "jshint --verbose *.js",
"cover": "istanbul cover --print detail --report html test/index.js",
"view-cover": "opn coverage/index.html",
"test": "npm run jshint && node test/index.js"
"test": "npm run jshint && node test/index.js",
"check-licence": "uber-licence --dry",
"add-licence": "uber-licence"
},
"dependencies": {
"body": "^4.5.0",
Expand All @@ -41,11 +43,14 @@
"tape": "^3.0.3",
"tchannel": "^1.2.5",
"time-mock": "^0.1.2",
"tryit": "^1.0.1"
"tryit": "^1.0.1",
"uber-licence": "git+ssh://[email protected]:uber/uber-licence"
},
"pre-commit": [
"check-licence",
"test"
],
"pre-commit.silent": true,
"itape": {
"trace": {
"debuglog": [
Expand Down
20 changes: 20 additions & 0 deletions test/integration/admin_join_test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
// Copyright (c) 2015 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

'use strict';

var test = require('tape');
Expand Down

0 comments on commit 2c515fd

Please sign in to comment.