Skip to content

Commit

Permalink
Update dependencies and gulp builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyuchia committed Aug 2, 2017
1 parent 1e59286 commit 480ac2e
Show file tree
Hide file tree
Showing 11 changed files with 317 additions and 125 deletions.
Empty file modified fonts/FontAwesome.otf
100644 → 100755
Empty file.
Empty file modified fonts/fontawesome-webfont.eot
100644 → 100755
Empty file.
Empty file modified fonts/fontawesome-webfont.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified fonts/fontawesome-webfont.ttf
100644 → 100755
Empty file.
Empty file modified fonts/fontawesome-webfont.woff
100644 → 100755
Empty file.
Empty file modified fonts/fontawesome-webfont.woff2
100644 → 100755
Empty file.
83 changes: 83 additions & 0 deletions gulpfile.js
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/"));
});
3 changes: 2 additions & 1 deletion js/animatelo.min.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions package.json
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"
}
}
1 change: 0 additions & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ var name = "";
var version = "";

var files = [
"/",
"index.html",

// Style Sheets
Expand Down
Loading

0 comments on commit 480ac2e

Please sign in to comment.