files tree made better.
parent
cb96933a25
commit
5b8e9b3975
@ -1,5 +0,0 @@
|
|||||||
include ../versioning.mk
|
|
||||||
include ../dnx.mk
|
|
||||||
|
|
||||||
all: $(BINTARGETPATH)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,5 +0,0 @@
|
|||||||
include ../versioning.mk
|
|
||||||
include ../dnx.mk
|
|
||||||
|
|
||||||
all: $(BINTARGETPATH)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
@ -1,59 +0,0 @@
|
|||||||
/// <binding Clean='clean' />
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var gulp = require("gulp"),
|
|
||||||
rimraf = require("rimraf"),
|
|
||||||
concat = require("gulp-concat"),
|
|
||||||
cssmin = require("gulp-cssmin"),
|
|
||||||
uglify = require("gulp-uglify"),
|
|
||||||
shell = require("gulp-shell"),
|
|
||||||
rename = require('gulp-rename');
|
|
||||||
var webroot = "./wwwroot/";
|
|
||||||
|
|
||||||
var paths = {
|
|
||||||
bower: "./bower_components/",
|
|
||||||
js: webroot + "js/**/*.js",
|
|
||||||
minJs: webroot + "js/**/*.min.js",
|
|
||||||
css: webroot + "css/**/*.css",
|
|
||||||
minCss: webroot + "css/**/*.min.css",
|
|
||||||
concatJsDest: webroot + "js/site.min.js",
|
|
||||||
concatCssDest: webroot + "css/site.min.css"
|
|
||||||
};
|
|
||||||
|
|
||||||
gulp.task("clean:js", function (cb) {
|
|
||||||
rimraf(paths.concatJsDest, cb);
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task("clean:css", function (cb) {
|
|
||||||
rimraf(paths.concatCssDest, cb);
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task("clean", ["clean:js", "clean:css"]);
|
|
||||||
|
|
||||||
gulp.task("min:js", function () {
|
|
||||||
return gulp.src([paths.js, "!" + paths.minJs], {
|
|
||||||
base: "."
|
|
||||||
})
|
|
||||||
.pipe(concat(paths.concatJsDest))
|
|
||||||
.pipe(uglify())
|
|
||||||
.pipe(gulp.dest("."));
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task("min:css", function () {
|
|
||||||
return gulp.src([paths.css, "!" + paths.minCss], {
|
|
||||||
base: "."
|
|
||||||
})
|
|
||||||
.pipe(concat(paths.concatCssDest))
|
|
||||||
.pipe(cssmin())
|
|
||||||
.pipe(gulp.dest("."));
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task("mindefault", function () {
|
|
||||||
gulp.src('src/**/*.css')
|
|
||||||
.pipe(cssmin())
|
|
||||||
.pipe(rename({suffix: '.min'}))
|
|
||||||
.pipe(gulp.dest('../dist'));
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task('build', shell.task(['dnu build --configuration=Debug']))
|
|
||||||
gulp.task('publish', shell.task(['dnu publish -o ../build']))
|
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
|||||||
|
SOURCE_DIR=$(HOME)/workspace/yavsc
|
||||||
|
MAKEFILE_DIR=$(SOURCE_DIR)/scripts/build/make
|
||||||
|
include $(MAKEFILE_DIR)/versioning.mk
|
||||||
|
include $(MAKEFILE_DIR)/dnx.mk
|
||||||
|
|
||||||
|
all: $(BINTARGETPATH)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue