Skip to content

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

-9
This file was deleted.

gulpfile.js

+5-5
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)