declare the native (macOS) build: node+go toolchains, go build recipe
Some checks failed
Backend Tests / Static Checks (push) Has been cancelled
Backend Tests / Tests (internal) (push) Has been cancelled
Backend Tests / Tests (other) (push) Has been cancelled
Backend Tests / Tests (server) (push) Has been cancelled
Backend Tests / Tests (store) (push) Has been cancelled
Build Canary Image / build-frontend (push) Has been cancelled
Frontend Tests / Lint (push) Has been cancelled
Frontend Tests / Build (push) Has been cancelled
Proto Linter / Lint Protos (push) Has been cancelled
Release Please / release-please (push) Has been cancelled
Build Canary Image / build-push (linux/amd64) (push) Has been cancelled
Build Canary Image / build-push (linux/arm64) (push) Has been cancelled
Build Canary Image / merge (push) Has been cancelled
Some checks failed
Backend Tests / Static Checks (push) Has been cancelled
Backend Tests / Tests (internal) (push) Has been cancelled
Backend Tests / Tests (other) (push) Has been cancelled
Backend Tests / Tests (server) (push) Has been cancelled
Backend Tests / Tests (store) (push) Has been cancelled
Build Canary Image / build-frontend (push) Has been cancelled
Frontend Tests / Lint (push) Has been cancelled
Frontend Tests / Build (push) Has been cancelled
Proto Linter / Lint Protos (push) Has been cancelled
Release Please / release-please (push) Has been cancelled
Build Canary Image / build-push (linux/amd64) (push) Has been cancelled
Build Canary Image / build-push (linux/arm64) (push) Has been cancelled
Build Canary Image / merge (push) Has been cancelled
This commit is contained in:
parent
e57f966119
commit
497ae1959d
1 changed files with 8 additions and 0 deletions
|
|
@ -8,6 +8,14 @@
|
||||||
"dockerfile": "Dockerfile",
|
"dockerfile": "Dockerfile",
|
||||||
"port": 5230
|
"port": 5230
|
||||||
},
|
},
|
||||||
|
"native": {
|
||||||
|
"toolchains": [
|
||||||
|
{ "kind": "node", "version": "24" },
|
||||||
|
{ "kind": "go", "version": "1.27" }
|
||||||
|
],
|
||||||
|
"build": "cd web && corepack enable && pnpm install --frozen-lockfile && pnpm release && cd .. && go build -trimpath -ldflags=\"-s -w\" -o memos ./cmd/memos",
|
||||||
|
"run": ["./memos", "--port", "{port}", "--data", "{data}"]
|
||||||
|
},
|
||||||
"data": {
|
"data": {
|
||||||
"dir": "/var/opt/memos",
|
"dir": "/var/opt/memos",
|
||||||
"snapshotKeep": 3
|
"snapshotKeep": 3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue