Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Commit bdce18d

Browse files
authored
Merge pull request #3 from Polymer/cleanup
Clean house, and add a binary that runs the generator.
2 parents 8443e49 + a1aa289 commit bdce18d

10 files changed

+992
-66
lines changed

Diff for: .clang-format

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
BasedOnStyle: Google
2+
AlignAfterOpenBracket: AlwaysBreak
3+
AllowAllParametersOfDeclarationOnNextLine: false
4+
AllowShortBlocksOnASingleLine: false
5+
AllowShortCaseLabelsOnASingleLine: false
6+
AllowShortFunctionsOnASingleLine: None
7+
AllowShortIfStatementsOnASingleLine: false
8+
AllowShortLoopsOnASingleLine: false
9+
BinPackArguments: false
10+
BinPackParameters: false

Diff for: .travis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: node_js
2+
node_js:
3+
- "6"
4+
- "node"
5+
script:
6+
- npm build

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Change Log
2+
3+
## [Unreleased]

Diff for: LICENSE

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
4+
Code distributed by Google as part of the polymer project is also
5+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# gen-typescript-declarations
2+
3+
[![Build Status](https://travis-ci.org/Polymer/gen-typescript-declarations.svg?branch=master)](https://travis-ci.org/Polymer/gen-typescript-declarations)
4+
25
Generate TypeScript declarations from Polymer Analyzer output

Diff for: bin/gen-typescript-declarations

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env node
2+
3+
/**
4+
* @license
5+
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This
6+
* code may only be used under the BSD style license found at
7+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be
8+
* found at http://polymer.github.io/AUTHORS.txt The complete set of
9+
* contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code
10+
* distributed by Google as part of the polymer project is also subject to an
11+
* additional IP rights grant found at http://polymer.github.io/PATENTS.txt
12+
*/
13+
14+
'use strict';
15+
16+
require('../lib/cli.js');
17+

0 commit comments

Comments
 (0)