forked from osl-incubator/makim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for more shell apps (osl-incubator#84)
Add support for more shell apps, allowing the usage of flags/parameters in the `shell` attribute, for example: `shell: "my-command -f"`.
- Loading branch information
Showing
5 changed files
with
91 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
version: 1.0 | ||
env-file: .env | ||
groups: | ||
main: | ||
targets: | ||
node: | ||
help: Test using nodejs | ||
shell: node | ||
run: console.log("Hello, World!"); | ||
perl: | ||
help: Test using perl | ||
shell: perl | ||
run: print "Hello, World!\n"; | ||
|
||
php: | ||
help: Test using php | ||
shell: php | ||
run: print "Hello, World!\n"; | ||
|
||
python: | ||
help: Test using php | ||
shell: python | ||
run: print("Hello, World!") | ||
|
||
r: | ||
help: Test using R | ||
shell: Rscript | ||
run: print("Hello World!") | ||
|
||
sh: | ||
help: Test using sh | ||
shell: sh | ||
run: echo "Hello, World!" | ||
|
||
all: | ||
dependencies: | ||
- target: node | ||
- target: perl | ||
# note: php from conda-forge has conflicts with r-base | ||
# - target: php | ||
- target: python | ||
- target: r | ||
- target: sh |