From 54824fc22f96f3da65a1e521a5eac8ec2c6afb98 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Sat, 18 Apr 2015 22:27:30 -0700 Subject: [PATCH] Added gulp to website Signed-off-by: Vishal Rana --- .gitignore | 4 ++++ website/docs/index.md | 4 ++++ website/gulpfile.js | 7 +++++++ website/package.json | 6 ++++++ 4 files changed, 21 insertions(+) create mode 100644 website/gulpfile.js create mode 100644 website/package.json diff --git a/.gitignore b/.gitignore index e5f665ab..356d7e42 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,7 @@ _testmain.go # Website site/ +.publish/ + +# Node.js +node_modules/ diff --git a/website/docs/index.md b/website/docs/index.md index a5891749..fc30393b 100644 --- a/website/docs/index.md +++ b/website/docs/index.md @@ -153,3 +153,7 @@ func main() { e.Run(":4444") } ``` + +## License + +[MIT](https://github.com/labstack/echo/blob/master/LICENSE) diff --git a/website/gulpfile.js b/website/gulpfile.js new file mode 100644 index 00000000..41ef6f32 --- /dev/null +++ b/website/gulpfile.js @@ -0,0 +1,7 @@ +var gulp = require('gulp'); +var ghPages = require('gulp-gh-pages'); + +gulp.task('deploy', function() { + return gulp.src('./site/**/*') + .pipe(ghPages()); +}); diff --git a/website/package.json b/website/package.json new file mode 100644 index 00000000..99e3705b --- /dev/null +++ b/website/package.json @@ -0,0 +1,6 @@ +{ + "devDependencies": { + "gulp": "^3.8.11", + "gulp-gh-pages": "^0.5.1" + } +}