mirror of
https://github.com/labstack/echo.git
synced 2025-04-23 12:18:53 +02:00
Added gulp to website
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
parent
566ed78c1e
commit
54824fc22f
4
.gitignore
vendored
4
.gitignore
vendored
@ -25,3 +25,7 @@ _testmain.go
|
|||||||
|
|
||||||
# Website
|
# Website
|
||||||
site/
|
site/
|
||||||
|
.publish/
|
||||||
|
|
||||||
|
# Node.js
|
||||||
|
node_modules/
|
||||||
|
@ -153,3 +153,7 @@ func main() {
|
|||||||
e.Run(":4444")
|
e.Run(":4444")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[MIT](https://github.com/labstack/echo/blob/master/LICENSE)
|
||||||
|
7
website/gulpfile.js
Normal file
7
website/gulpfile.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
var gulp = require('gulp');
|
||||||
|
var ghPages = require('gulp-gh-pages');
|
||||||
|
|
||||||
|
gulp.task('deploy', function() {
|
||||||
|
return gulp.src('./site/**/*')
|
||||||
|
.pipe(ghPages());
|
||||||
|
});
|
6
website/package.json
Normal file
6
website/package.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"gulp": "^3.8.11",
|
||||||
|
"gulp-gh-pages": "^0.5.1"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user