mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Fix dev builds
This commit is contained in:
parent
10d65eb295
commit
830304c882
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -51,7 +51,7 @@ jobs:
|
||||
# for cache population
|
||||
- lint-rust
|
||||
env:
|
||||
HOOKSHOT_BUILD_PROFILE: dev
|
||||
HOOKSHOT_BUILD_PROFILE: " " # This is equivalent to dev
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js
|
||||
@ -70,7 +70,7 @@ jobs:
|
||||
- lint-rust
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HOOKSHOT_BUILD_PROFILE: dev
|
||||
HOOKSHOT_BUILD_PROFILE: " "
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
# Test on LTS-1
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
HOOKSHOT_BUILD_PROFILE: dev
|
||||
HOOKSHOT_BUILD_PROFILE: " "
|
||||
needs:
|
||||
- lint-node
|
||||
- lint-rust
|
||||
@ -149,6 +149,8 @@ jobs:
|
||||
needs:
|
||||
- test
|
||||
- build-homerunner
|
||||
env:
|
||||
HOOKSHOT_BUILD_PROFILE: " "
|
||||
steps:
|
||||
- name: Install Complement Dependencies
|
||||
run: |
|
||||
|
@ -15,7 +15,7 @@
|
||||
"scripts": {
|
||||
"build:web": "vite build",
|
||||
"build:app": "tsc --project tsconfig.json",
|
||||
"build:app:rs": "napi build --dts ../src/libRs.d.ts --profile $HOOKSHOT_BUILD_PROFILE ./lib",
|
||||
"build:app:rs": "napi build --dts ../src/libRs.d.ts $HOOKSHOT_BUILD_PROFILE ./lib",
|
||||
"build:app:fix-defs": "ts-node scripts/definitions-fixer.ts src/libRs.d.ts",
|
||||
"build:docs": "ts-node scripts/build-metrics-docs.ts > docs/metrics.md && mdbook build",
|
||||
"dev:web": "vite dev",
|
||||
|
@ -3,7 +3,7 @@
|
||||
# exit when any command fails
|
||||
set -e
|
||||
|
||||
export HOOKSHOT_BUILD_PROFILE="${HOOKSHOT_BUILD_PROFILE:-release}"
|
||||
export HOOKSHOT_BUILD_PROFILE="${HOOKSHOT_BUILD_PROFILE:---release}"
|
||||
|
||||
echo "Building Rust layer"
|
||||
yarn run build:app:rs
|
||||
|
Loading…
x
Reference in New Issue
Block a user