Skip to content

Commit

Permalink
addressed feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelselleck committed Feb 2, 2024
1 parent d8e64c3 commit 5359924
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pax-chassis-web/build-interface.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -e
pushd interface
esbuild --bundle src/index.ts --global-name=Pax --outfile=public/pax-chassis-web-interface.js
popd
popd
7 changes: 5 additions & 2 deletions scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@
target_dir = os.path.join(original_dir, 'pax-chassis-web')
os.chdir(target_dir)
subprocess.run(['./build-interface.sh'], check=True)
finally:
os.chdir(original_dir)
except:
print("ERROR: failed to build ts files")
exit(1)

os.chdir(original_dir)

Create a mapping from package name to path
PACKAGE_NAMES = {}
Expand Down

0 comments on commit 5359924

Please sign in to comment.