Skip to content

Commit c0d7200

Browse files
author
Callan Peter Milne
committed
(gulp):build
1 parent 9ce8ad5 commit c0d7200

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

src/app/modules/app/module.es

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
angular.module('angularApp', [
3+
'ngAnimate',
4+
'ngAria',
5+
'ngCookies',
6+
'ngMaterial',
7+
'ngMessages',
8+
'ui.router',
9+
'luminous.environment',
10+
]);

src/ops/gulp/build.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,12 @@
1717
'use strict';
1818

1919
module.exports = function (gulp) {
20-
gulp.task('build', [ 'jscompile', 'csscompile' ]);
20+
21+
gulp.task('copystatic', function () {
22+
gulp.src('src/static/**/*')
23+
.pipe(gulp.dest('build'));
24+
});
25+
26+
gulp.task('build', [ 'jscompile', 'csscompile', 'copystatic' ]);
27+
2128
};

src/static/app.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html ng-app="angularApp">
3+
<head>
4+
<title>Data Studio</title>
5+
<meta name="charset" charset="utf-8">
6+
</head>
7+
<body>
8+
9+
<div id="loading">Meow!</div>
10+
11+
<script src="app.js"></script>
12+
13+
<link src="app.css" rel="stylesheet" type="text/css">

0 commit comments

Comments
 (0)