forked from btclock/btclock_v3
Explicit postinstall hook run for FS
This commit is contained in:
parent
11302c590a
commit
0e168f840a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def process_directory(input_dir, output_dir):
|
||||||
|
|
||||||
# Build web interface before building FS
|
# Build web interface before building FS
|
||||||
def before_buildfs(source, target, env):
|
def before_buildfs(source, target, env):
|
||||||
env.Execute("cd data && yarn && PUBLIC_BASE_URL=\"\" yarn build")
|
env.Execute("cd data && yarn && yarn postinstall && PUBLIC_BASE_URL=\"\" yarn build")
|
||||||
input_directory = 'data/dist'
|
input_directory = 'data/dist'
|
||||||
output_directory = 'data/build_gz'
|
output_directory = 'data/build_gz'
|
||||||
process_directory(input_directory, output_directory)
|
process_directory(input_directory, output_directory)
|
||||||
|
|
Loading…
Reference in a new issue