Skip to content

Commit 256fd08

Browse files
committed
Start restructure for ts :allthethings:
1 parent b3360f6 commit 256fd08

File tree

65 files changed

+7283
-309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+7283
-309
lines changed

.gitignore

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ _ReSharper*
6161
*.ncrunch*
6262
.*crunch*.local.xml
6363

64-
# Installshield output folder
64+
# Installshield output folder
6565
[Ee]xpress
6666

6767
# DocProject is a documentation generator add-in
@@ -102,7 +102,7 @@ ClientBin
102102
~$*
103103
*.dbmdl
104104
Generated_Code #added for RIA/Silverlight projects
105-
*.swp
105+
*.swp
106106
.idea
107107

108108
# Backup & report files from converting an old project file to a newer
@@ -111,7 +111,7 @@ _UpgradeReport_Files/
111111
Backup*/
112112
UpgradeLog*.XML
113113

114-
build/
114+
dist/
115115

116116
*.received.*
117117
*.DS_Store

build/tasks/build.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
var gulp = require("gulp");
2+
var path = require("path");
3+
var run = require("gulp-run-command").default;
4+
var clean = require("gulp-clean");
5+
var runSequence = require("run-sequence");
6+
7+
gulp.task("build", (callback) => {
8+
return runSequence("clean", ["build:tasks", "build:widgets", "build:copy"], callback);
9+
});
10+
11+
gulp.task("build:tasks", [], run("rollup --config rollup.config.js"));
12+
gulp.task("build:widgets", [], () => {
13+
return gulp.src("source/widgets/**/*")
14+
.pipe(gulp.dest("dist/widgets"));
15+
})
16+
17+
gulp.task("build:copy", [], () => {
18+
return gulp.src("source/*.*")
19+
.pipe(gulp.dest("dist"));
20+
});
21+
22+
gulp.task("clean", [], () => {
23+
return gulp.src("dist", {read: false})
24+
.pipe(clean());
25+
});

build/tasks/watch.js

Whitespace-only changes.

gulpfile.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var gulp = require('gulp');
2+
3+
require('require-dir')('build/tasks');
4+
5+
gulp.task('default', ['watch']);

0 commit comments

Comments
 (0)