aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/config.ts3
-rw-r--r--tools/tasks/build.index.ts1
-rw-r--r--tools/tasks/build.sass.dev.ts3
-rw-r--r--tools/utils/template-injectables.ts1
4 files changed, 2 insertions, 6 deletions
diff --git a/tools/config.ts b/tools/config.ts
index 8219423..0b9c613 100644
--- a/tools/config.ts
+++ b/tools/config.ts
@@ -10,7 +10,7 @@ export const LIVE_RELOAD_PORT = argv['reload-port'] || 4002;
export const DOCS_PORT = argv['docs-port'] || 4003;
export const APP_BASE = argv['base'] || '/';
-export const APP_TITLE = 'My Angular2 App';
+export const APP_TITLE = 'Postgres EXPLAIN Visualizer (pev)';
export const APP_SRC = 'app';
export const ASSETS_SRC = `${APP_SRC}/assets`;
@@ -91,7 +91,6 @@ export const SYSTEM_CONFIG_BUILDER = {
}
};
-
// --------------
// Private.
function appVersion(): number | string {
diff --git a/tools/tasks/build.index.ts b/tools/tasks/build.index.ts
index bbf98ee..3c2bec8 100644
--- a/tools/tasks/build.index.ts
+++ b/tools/tasks/build.index.ts
@@ -13,7 +13,6 @@ export = function buildIndexDev(gulp, plugins) {
.pipe(gulp.dest(APP_DEST));
};
-
function inject(name?: string) {
return plugins.inject(gulp.src(getInjectablesDependenciesRef(name), { read: false }), {
name,
diff --git a/tools/tasks/build.sass.dev.ts b/tools/tasks/build.sass.dev.ts
index a2127be..086c306 100644
--- a/tools/tasks/build.sass.dev.ts
+++ b/tools/tasks/build.sass.dev.ts
@@ -12,10 +12,9 @@ export = function buildSassDev(gulp, plugins, option) {
}
}))
.pipe(plugins.compass({
- // config_file: './config.rb',
style: 'compressed',
css: 'app/assets/css',
- sass: join(APP_SRC, 'assets/sass'),
+ sass: join(APP_SRC, 'assets/sass')
}))
.pipe(gulp.dest(join(APP_SRC, 'assets')));
};
diff --git a/tools/utils/template-injectables.ts b/tools/utils/template-injectables.ts
index 83ac315..6d60791 100644
--- a/tools/utils/template-injectables.ts
+++ b/tools/utils/template-injectables.ts
@@ -19,7 +19,6 @@ export function registerInjectableAssetsRef(paths: string[], target: string = ''
export function transformPath(plugins, env) {
return function (filepath) {
filepath = ENV === 'prod' ? filepath.replace(`/${APP_DEST}`, '') : filepath;
- arguments[0] = join(APP_BASE, filepath);
return slash(plugins.inject.transform.apply(plugins.inject.transform, arguments));
};
}