-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and gulp builder
- Loading branch information
Showing
11 changed files
with
317 additions
and
125 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/* global require */ | ||
|
||
"use strict"; | ||
|
||
const gulp = require("gulp"); | ||
const packageJson = require("./package.json"); | ||
const zip = require("gulp-zip"); | ||
const download = require("gulp-download-stream"); | ||
|
||
gulp.task("default", () => { | ||
return gulp.src([ | ||
"./**", | ||
"!./**/.DS_Store", | ||
"!./**/.thumbs", | ||
"!./**/package-lock.json", | ||
"!./**/.buildconfig", | ||
"!node_modules", | ||
"!node_modules/**", | ||
"!.git", | ||
"!.git/**", | ||
"!build", | ||
"!build/**", | ||
"!dist", | ||
"!dist/**", | ||
], { | ||
dot: true | ||
}) | ||
.pipe(zip(packageJson.name + "-v" + packageJson.version + ".zip")) | ||
.pipe(gulp.dest("dist")); | ||
}); | ||
|
||
gulp.task("release", () => { | ||
|
||
}); | ||
|
||
// Update Dependencies | ||
gulp.task("download-deps", () => { | ||
|
||
// Artemis JS | ||
download("https://raw.githubusercontent.com/AegisFramework/Artemis/master/dist/artemis.js").pipe(gulp.dest("js/")); | ||
|
||
// Animatelo | ||
download({ | ||
file: "animatelo.min.js", | ||
url: "https://raw.githubusercontent.com/gibbok/animatelo/master/dist/animatelo.min.js" | ||
}).pipe(gulp.dest("js/")); | ||
|
||
// Kayros | ||
download({ | ||
file: "kayros.css", | ||
url: "https://raw.githubusercontent.com/AegisFramework/Kayros/master/dist/kayros.css" | ||
}).pipe(gulp.dest("style/")); | ||
|
||
// Font Awesome | ||
download("https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/css/font-awesome.min.css").pipe(gulp.dest("style/")); | ||
|
||
download({ | ||
file: "FontAwesome.otf", | ||
url: "https://github.com/FortAwesome/Font-Awesome/blob/master/fonts/FontAwesome.otf?raw=true" | ||
}).pipe(gulp.dest("fonts/")); | ||
|
||
download({ | ||
file: "fontawesome-webfont.eot", | ||
url: "https://github.com/FortAwesome/Font-Awesome/blob/master/fonts/fontawesome-webfont.eot?raw=true" | ||
}).pipe(gulp.dest("fonts/")); | ||
|
||
download({ | ||
file: "fontawesome-webfont.ttf", | ||
url: "https://github.com/FortAwesome/Font-Awesome/blob/master/fonts/fontawesome-webfont.ttf?raw=true" | ||
}).pipe(gulp.dest("fonts/")); | ||
|
||
download({ | ||
file: "fontawesome-webfont.woff", | ||
url: "https://github.com/FortAwesome/Font-Awesome/blob/master/fonts/fontawesome-webfont.woff?raw=true" | ||
}).pipe(gulp.dest("fonts/")); | ||
|
||
download({ | ||
file: "fontawesome-webfont.woff2", | ||
url: "https://github.com/FortAwesome/Font-Awesome/blob/master/fonts/fontawesome-webfont.woff2?raw=true" | ||
}).pipe(gulp.dest("fonts/")); | ||
|
||
download("https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/fonts/fontawesome-webfont.svg").pipe(gulp.dest("fonts/")); | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Oregano", | ||
"version": "0.3.2", | ||
"main": "gulpfile.js", | ||
"description": "Create your webpage quickly with this template, featuring the cutting edge technologies and features of HTML5, CSS3 and Javascript. Make it mobile and social friendly!", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/AegisFramework/Oregano.git" | ||
}, | ||
"author": "Diego Islas Ocampo", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/AegisFramework/Oregano/issues" | ||
}, | ||
"homepage": "http://aegisframework.com", | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-cssnano": "^2.1.2", | ||
"gulp-download-stream": "0.0.13", | ||
"gulp-zip": "^3.2.0", | ||
"run-sequence": "^1.2.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ var name = ""; | |
var version = ""; | ||
|
||
var files = [ | ||
"/", | ||
"index.html", | ||
|
||
// Style Sheets | ||
|
Oops, something went wrong.