Skip to content

Commit

Permalink
Include common rootFiles for any webApplication
Browse files Browse the repository at this point in the history
- corresponding boilerplates
- gulp task to copy them to dist folder
- Include the task only on deploy process
  • Loading branch information
renatodeleao committed Oct 6, 2016
1 parent 263b26b commit 186feb6
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 0 deletions.
Empty file added app/CNAME
Empty file.
14 changes: 14 additions & 0 deletions app/humans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# humanstxt.org/
# The humans responsible & technology colophon

# TEAM

<name> -- <role> -- <twitter>

# THANKS

<name>

# TECHNOLOGY COLOPHON

HTML5, CSS3
24 changes: 24 additions & 0 deletions app/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "Sassqit",
"icons": [{
"src": "./assets/favicons/touch/icon-128x128.png",
"sizes": "128x128",
"type": "image/png"
}, {
"src": "./assets/favicons/touch/apple-touch-icon.png",
"sizes": "152x152",
"type": "image/png"
}, {
"src": "./assets/favicons/touch/ms-touch-icon-144x144-precomposed.png",
"sizes": "144x144",
"type": "image/png"
}, {
"src": "./assets/favicons/touch/chrome-touch-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
}],
"start_url": "/index.html?homescreen=1",
"display": "standalone",
"background_color": "",
"theme_color": ""
}
25 changes: 25 additions & 0 deletions app/manifest.webapp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": "1.0.0",
"name": "Sassqit",
"launch_path": "/index.html",
"description": "Build and Deploy Static websites like a bauss",
"icons": {
"128": "assets/images/favicons/touch/icon-128x128.png"
},
"developer": {
"name": "Whitesmith",
"url": "https://whitesmith.co"
},
"installs_allowed_from": [
"*"
],
"default_locale": "en",
"permissions": {
},
"locales": {
"en": {
"name": "Sassqit",
"description": "Build and Deploy Static websites like a bauss"
}
}
}
5 changes: 5 additions & 0 deletions app/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# www.robotstxt.org/

# Allow crawling of all content
User-agent: *
Disallow:
6 changes: 6 additions & 0 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ export { clean }
// done()
// }

/*Copy Common App RootFiles */
export function copyRootFiles() {
return gulp.src(paths.appRoot.src + '/*.*', {since: gulp.lastRun('copyRootFiles'), dot: true})
.pipe(gulp.dest(paths.appRoot.dest));
}

/*
* Copy & Optimize static assets
Expand Down Expand Up @@ -235,6 +240,7 @@ const serve = gulp.series(
*/
const deploy = gulp.series(
build,
copyRootFiles,
function(){
return gulp.src(appRoot.dest)
.pipe(ghPages());
Expand Down

0 comments on commit 186feb6

Please sign in to comment.