From 9407437cf85afce2d9d2137deb044c18bcca2f4e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 8 Apr 2019 23:47:08 -0700 Subject: [PATCH] Temp removing fusebox git describe since it breaks docker. --- ui/.gitignore | 1 - ui/fuse.js | 4 ++-- ui/src/version.ts | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 ui/src/version.ts diff --git a/ui/.gitignore b/ui/.gitignore index 1e420dc4..cc0ab540 100644 --- a/ui/.gitignore +++ b/ui/.gitignore @@ -1,4 +1,3 @@ -src/version.ts dist .fusebox _site diff --git a/ui/fuse.js b/ui/fuse.js index c70edfb8..fe2c7664 100644 --- a/ui/fuse.js +++ b/ui/fuse.js @@ -46,12 +46,12 @@ Sparky.task('version', _ => setVersion()); Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/')); Sparky.task('env', _ => (isProduction = true)); Sparky.task('copy-assets', () => Sparky.src('assets/*.svg').dest('dist/')); -Sparky.task('dev', ['clean', 'config', 'copy-assets', 'version'], _ => { +Sparky.task('dev', ['clean', 'config', 'copy-assets'], _ => { fuse.dev(); app.hmr().watch(); return fuse.run(); }); -Sparky.task('prod', ['clean', 'env', 'config', 'copy-assets', 'version'], _ => { +Sparky.task('prod', ['clean', 'env', 'config', 'copy-assets'], _ => { // fuse.dev({ reload: true }); // remove after demo return fuse.run(); }); diff --git a/ui/src/version.ts b/ui/src/version.ts new file mode 100644 index 00000000..3f710072 --- /dev/null +++ b/ui/src/version.ts @@ -0,0 +1 @@ +export let version: string = "v0.0.2-0-gdae6651"; \ No newline at end of file -- 2.44.1