Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d7d830a

Browse files
committed
Remove build.sh
1 parent bb54330 commit d7d830a

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

‎build.sh‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎gulpfile.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function genericTask(lang){
1616

1717
var files = ['./temp/*.md'];
1818
if (lang === 'eng'){
19-
files = './temp/README.md';
19+
files = './temp/README.md';
2020
}
2121
else if(lang !== 'all'){
2222
files = ['./temp/*-'+lang+'.md'];
@@ -46,11 +46,11 @@ function genericTask(lang){
4646
// build custom tasks for i18n
4747

4848
glob.sync('./temp/README-*.md').map(function(file){
49-
49+
5050
return file.replace('README-', '');
5151

5252
}).concat(['all', 'eng']).forEach(function(lang){
53-
53+
5454
genericTask(lang);
5555
gulp.task('doc:pdf:'+lang, function(cb){
5656
runSequence('clean', ['copy:images', 'copy:md'], 'generate:pdf:'+lang, cb);
@@ -64,13 +64,13 @@ gulp.task('default', function(cb){
6464

6565
gulp.task('copy:md', function(){
6666
return gulp.src(['README.md', 'i18n/README-*.md'])
67-
67+
6868
// @todo I have no idea where should the TOC go?!
6969
// for now, let's keep the TOC content and remove these markers
7070
.pipe(replace('<!--toc-->', ''))
7171
.pipe(replace('<!--endtoc-->', ''))
7272

73-
// preapre the image paths for the renderer
73+
// preapre the image paths for the renderer
7474
.pipe(replace(/https:\/\/rawgit.com\/mgechev\/angularjs-in-patterns\/master\/images/g, '.'))
7575
.pipe(gulp.dest('./temp/'));
7676
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /