Temp removing fusebox git describe since it breaks docker.
This commit is contained in:
parent
dae66517aa
commit
e24641dccb
3 changed files with 3 additions and 3 deletions
1
ui/.gitignore
vendored
1
ui/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
src/version.ts
|
||||
dist
|
||||
.fusebox
|
||||
_site
|
||||
|
|
|
@ -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
Normal file
1
ui/src/version.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export let version: string = "v0.0.2-0-gdae6651";
|
Reference in a new issue