Temp removing fusebox git describe since it breaks docker.

This commit is contained in:
Dessalines 2019-04-08 23:47:08 -07:00
parent 7fa6631a13
commit 9407437cf8
3 changed files with 3 additions and 3 deletions

1
ui/.gitignore vendored
View file

@ -1,4 +1,3 @@
src/version.ts
dist dist
.fusebox .fusebox
_site _site

View file

@ -46,12 +46,12 @@ Sparky.task('version', _ => setVersion());
Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/')); Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/'));
Sparky.task('env', _ => (isProduction = true)); Sparky.task('env', _ => (isProduction = true));
Sparky.task('copy-assets', () => Sparky.src('assets/*.svg').dest('dist/')); 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(); fuse.dev();
app.hmr().watch(); app.hmr().watch();
return fuse.run(); 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 // fuse.dev({ reload: true }); // remove after demo
return fuse.run(); return fuse.run();
}); });

1
ui/src/version.ts Normal file
View file

@ -0,0 +1 @@
export let version: string = "v0.0.2-0-gdae6651";