mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +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
|
# for cache population
|
||||||
- lint-rust
|
- lint-rust
|
||||||
env:
|
env:
|
||||||
HOOKSHOT_BUILD_PROFILE: dev
|
HOOKSHOT_BUILD_PROFILE: " " # This is equivalent to dev
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
- lint-rust
|
- lint-rust
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HOOKSHOT_BUILD_PROFILE: dev
|
HOOKSHOT_BUILD_PROFILE: " "
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
# Test on LTS-1
|
# Test on LTS-1
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
env:
|
env:
|
||||||
HOOKSHOT_BUILD_PROFILE: dev
|
HOOKSHOT_BUILD_PROFILE: " "
|
||||||
needs:
|
needs:
|
||||||
- lint-node
|
- lint-node
|
||||||
- lint-rust
|
- lint-rust
|
||||||
@ -149,6 +149,8 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
- build-homerunner
|
- build-homerunner
|
||||||
|
env:
|
||||||
|
HOOKSHOT_BUILD_PROFILE: " "
|
||||||
steps:
|
steps:
|
||||||
- name: Install Complement Dependencies
|
- name: Install Complement Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build:web": "vite build",
|
"build:web": "vite build",
|
||||||
"build:app": "tsc --project tsconfig.json",
|
"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: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",
|
"build:docs": "ts-node scripts/build-metrics-docs.ts > docs/metrics.md && mdbook build",
|
||||||
"dev:web": "vite dev",
|
"dev:web": "vite dev",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# exit when any command fails
|
# exit when any command fails
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export HOOKSHOT_BUILD_PROFILE="${HOOKSHOT_BUILD_PROFILE:-release}"
|
export HOOKSHOT_BUILD_PROFILE="${HOOKSHOT_BUILD_PROFILE:---release}"
|
||||||
|
|
||||||
echo "Building Rust layer"
|
echo "Building Rust layer"
|
||||||
yarn run build:app:rs
|
yarn run build:app:rs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user