Fixup static libraries in development server
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,6 +2,8 @@
|
|||||||
/.direnv/
|
/.direnv/
|
||||||
.test_info.*
|
.test_info.*
|
||||||
/src/root/static/bootstrap
|
/src/root/static/bootstrap
|
||||||
|
/src/root/static/fontawesome
|
||||||
|
/src/root/static/js/flot
|
||||||
/src/sql/hydra-postgresql.sql
|
/src/sql/hydra-postgresql.sql
|
||||||
/src/sql/hydra-sqlite.sql
|
/src/sql/hydra-sqlite.sql
|
||||||
/src/sql/tmp.sqlite
|
/src/sql/tmp.sqlite
|
||||||
|
@@ -81,6 +81,8 @@ You can use the provided shell.nix to get a working development environment:
|
|||||||
```
|
```
|
||||||
$ nix develop
|
$ nix develop
|
||||||
$ ln -svf ../../../build/src/bootstrap src/root/static/bootstrap
|
$ ln -svf ../../../build/src/bootstrap src/root/static/bootstrap
|
||||||
|
$ ln -svf ../../../build/src/fontawesome src/root/static/fontawesome
|
||||||
|
$ ln -svf ../../../../build/src/flot src/root/static/js/flot
|
||||||
$ meson setup build
|
$ meson setup build
|
||||||
$ ninja -C build
|
$ ninja -C build
|
||||||
```
|
```
|
||||||
|
@@ -57,20 +57,12 @@ fontawesome = custom_target(
|
|||||||
command: ['unzip', '-u', '-d', '@OUTDIR@', '@INPUT@'],
|
command: ['unzip', '-u', '-d', '@OUTDIR@', '@INPUT@'],
|
||||||
)
|
)
|
||||||
custom_target(
|
custom_target(
|
||||||
'name-fontawesome-css',
|
'name-fontawesome',
|
||||||
input: fontawesome,
|
input: fontawesome,
|
||||||
output: 'css',
|
output: 'fontawesome',
|
||||||
command: ['cp', '-r', '@INPUT@/css', '@OUTPUT@'],
|
command: ['cp', '-r', '@INPUT@' , '@OUTPUT@'],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: hydra_libexecdir_static / 'fontawesome',
|
install_dir: hydra_libexecdir_static,
|
||||||
)
|
|
||||||
custom_target(
|
|
||||||
'name-fontawesome-webfonts',
|
|
||||||
input: fontawesome,
|
|
||||||
output: 'webfonts',
|
|
||||||
command: ['cp', '-r', '@INPUT@/webfonts', '@OUTPUT@'],
|
|
||||||
install: true,
|
|
||||||
install_dir: hydra_libexecdir_static / 'fontawesome',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Scripts
|
# Scripts
|
||||||
|
Reference in New Issue
Block a user