Skip to content

Commit

Permalink
add deno
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb committed Nov 12, 2024
1 parent df2b4cc commit e06db9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helpers/rocketchat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ start_rocketchat() {
export MONGO_OPLOG_URL=$(snapctl get mongo-oplog-url)
export ROOT_URL=$(snapctl get siteurl)
export REG_TOKEN=$(snapctl get reg-token)
export DENO_DIR="$SNAP_COMMON/deno"

[[ -d "$DENO_DIR" ]] || mkdir -p "$DENO_DIR"

# We know that mongodb IS running
# Let's save the PID someplace
Expand Down
9 changes: 9 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,15 @@ parts:
- include
- lib

deno:
plugin: dump
# https://github.com/RocketChat/Rocket.Chat/blob/3bd70ee2165942a0fc731dbfd16482362eb5114a/apps/meteor/.docker/Dockerfile.debian#L1
source:
- on amd64: https://github.com/denoland/deno/releases/download/v1.37.1/deno-x86_64-unknown-linux-gnu.zip
source-type: zip
organize:
deno: bin/deno # https://github.com/RocketChat/public-releases/blob/96976fbc0e263658e55281472b3fd04b77defc1b/snap/snap.bats#L58

# libvips:
# source:
# - on arm64: https://github.com/libvips/libvips/releases/download/v8.12.2/vips-8.12.2.tar.gz
Expand Down

0 comments on commit e06db9c

Please sign in to comment.