From 32513803936d84604e93e39f4db993518d0a0178 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:17:50 +0200 Subject: [PATCH] +railway.app (#5025) * + * without locked * modified: projects/railway.app/package.yml --- projects/railway.app/package.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/railway.app/package.yml diff --git a/projects/railway.app/package.yml b/projects/railway.app/package.yml new file mode 100644 index 00000000..96af7ed4 --- /dev/null +++ b/projects/railway.app/package.yml @@ -0,0 +1,28 @@ +distributable: + url: git+https://github.com/railwayapp/cli.git + ref: ${{version.tag}} + +versions: + github: railwayapp/cli + +build: + dependencies: + rust-lang.org: ^1.75 + rust-lang.org/cargo: '*' + script: + # could not compile `proc-macro2` (lib) due to previous error + - cargo add proc-macro2 + - cargo install $ARGS + env: + ARGS: + - --root={{prefix}} + - --path=. + - --locked + +provides: + - bin/railway + +test: + - railway init 2>out.log || true + - cat out.log | grep 'Unauthorized. Please login with `railway login`' + - railway --version | grep {{version}} \ No newline at end of file