Update build.xsh

This commit is contained in:
anki-code 2020-03-07 10:24:06 +03:00 committed by GitHub
parent 66d4fa1c9a
commit 777edae8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,9 @@ script_dir = pf"{__file__}".absolute().parent
build_dir = script_dir / 'build' build_dir = script_dir / 'build'
rm -rf @(build_dir)/ rm -rf @(build_dir)/
mkdir -p @(build_dir) mkdir -p @(build_dir)
cd @(build_dir)
cp @(script_dir / 'entrypoint.sh') @(build_dir)/ cp @(script_dir / 'entrypoint.sh') @(build_dir)/
cd @(build_dir)
if p'your_portable_shell'.exists(): if p'your_portable_shell'.exists():
eprint('SKIP: Portable shell already builded') eprint('SKIP: Portable shell already builded')
else: else: