Skip to content

Commit

Permalink
add fake java package descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
DenKoren committed Sep 4, 2024
1 parent 297e28a commit 0bad4b0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
Empty file added java-stub/.empty
Empty file.
1 change: 1 addition & 0 deletions java-stub/package.sw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"registry":"milaboratories","package":"milaboratory/small-binaries/stub-java-script/1.0.0.tgz"}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@milaboratory/small-binaries",
"version": "1.9.0",
"version": "1.10.0",
"description": "Small cross-platform binaries, like 'sleep' or 'hello-world', suitable for test needs",
"scripts": {
"cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/",
Expand Down Expand Up @@ -144,7 +144,19 @@
},
"root": "./python-stub"
},
"cmd": [ "python", "{pkg}/hello.py" ]
"cmd": [ "python", "got fake python by dependency", "pkg={pkg}", "python={python}" ]
}
},
"stub-java-script": {
"binary": {
"artifact": {
"type": "java",
"registry": "milaboratories",
"version": "1.0.0",
"environment": ":runenv-java-stub",
"root": "./java-stub"
},
"cmd": [ "java", "got fake java by dependency", "pkg={pkg}", "java={java}" ]
}
},
"read-file-to-stdout-with-sleep": {
Expand Down

0 comments on commit 0bad4b0

Please sign in to comment.