Browse Source

Temp removing fusebox git describe since it breaks docker.

online_users
Dessalines 3 years ago
parent
commit
9407437cf8
  1. 1
      ui/.gitignore
  2. 4
      ui/fuse.js
  3. 1
      ui/src/version.ts

1
ui/.gitignore

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

4
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();
});

1
ui/src/version.ts

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