mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
mongodb.com/shell (#3561)
* mongodb.com/shell * fixes --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
d72df597f2
commit
aa028c50b6
1 changed files with 30 additions and 0 deletions
30
projects/mongodb.com/shell/package.yml
Normal file
30
projects/mongodb.com/shell/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
distributable: ~
|
||||
display-name: mongosh
|
||||
versions:
|
||||
github: mongodb-js/mongosh
|
||||
dependencies:
|
||||
nodejs.org: '*'
|
||||
build:
|
||||
dependencies:
|
||||
npmjs.com: '*'
|
||||
curl.se: '*'
|
||||
script:
|
||||
- curl -L https://registry.npmjs.org/@mongosh/cli-repl/-/cli-repl-{{version}}.tgz --output cli-repl-{{version}}.tgz
|
||||
- npm i $ARGS
|
||||
- run: ln -s ../libexec/bin/mongosh mongosh
|
||||
working-directory: "{{prefix}}/bin"
|
||||
env:
|
||||
ARGS:
|
||||
- -ddd
|
||||
- --global
|
||||
- --build-from-source
|
||||
- --prefix={{prefix}}/libexec
|
||||
- --unsafe-perm
|
||||
- cli-repl-{{version}}.tgz
|
||||
provides:
|
||||
- bin/mongosh
|
||||
test:
|
||||
script:
|
||||
- mongosh --version | grep {{version}}
|
||||
- mongosh --nodb --eval "print('#ok#')" | grep '#ok#'
|
||||
- mongosh --smokeTests
|
Loading…
Reference in a new issue