Skip to content

Commit 07a1c2b

Browse files
committed
forgot the shebang line
1 parent a478eb0 commit 07a1c2b

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

Diff for: bin/angular-cli-ghpages

+19-17
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
var index = require('../index'),
2-
pjson = require('../package.json'),
3-
program = require('commander');
4-
5-
program
6-
.version(pjson.version)
7-
.description(pjson.description)
8-
.option('-d, --dir <dir>', 'Directory for all published sources, relative to the project-root. Most probably no change is required here.', 'dist')
9-
.option('-r, --repo <repo>', 'The commit message to include with the build, must be wrapped in quotes.')
10-
.option('-m, --message <message>', 'The commit message, must be wrapped in quotes.', 'Auto-generated commit')
11-
.option('-b, --branch <branch>', 'The git branch to push your pages to.', 'gh-pages')
12-
.option('-n, --name <name>', 'The git user-name which is associated with this commit.')
13-
.option('-e, --email <email>', 'The git user-email which is associated with this commit')
14-
.option('-x, --silent', 'Suppress console logging. This option should be used if the repository URL or other information passed to git commands is sensitive! Default: true')
15-
.option('-t, --dotfiles', 'Includes dotfiles by default. When set to `false` files starting with `.` are ignored. Default: true')
16-
.parse(process.argv);
17-
1+
#!/usr/bin/env node
2+
3+
var index = require('../index'),
4+
pjson = require('../package.json'),
5+
program = require('commander');
6+
7+
program
8+
.version(pjson.version)
9+
.description(pjson.description)
10+
.option('-d, --dir <dir>', 'Directory for all published sources, relative to the project-root. Most probably no change is required here.', 'dist')
11+
.option('-r, --repo <repo>', 'The commit message to include with the build, must be wrapped in quotes.')
12+
.option('-m, --message <message>', 'The commit message, must be wrapped in quotes.', 'Auto-generated commit')
13+
.option('-b, --branch <branch>', 'The git branch to push your pages to.', 'gh-pages')
14+
.option('-n, --name <name>', 'The git user-name which is associated with this commit.')
15+
.option('-e, --email <email>', 'The git user-email which is associated with this commit')
16+
.option('-x, --silent', 'Suppress console logging. This option should be used if the repository URL or other information passed to git commands is sensitive! Default: true')
17+
.option('-t, --dotfiles', 'Includes dotfiles by default. When set to `false` files starting with `.` are ignored. Default: true')
18+
.parse(process.argv);
19+
1820
index.run(program);

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-cli-ghpages",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Wrapper around gh-pages, made for angular-cli users. Publish to any gh-pages branch on GitHub (or any other branch on any other remote).",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)