-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e849c0
commit 97606c4
Showing
1 changed file
with
43 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
exec runme ls | ||
cmp stdout golden-list.txt | ||
! stderr . | ||
|
||
exec runme ls --json | ||
cmp stdout golden-list-json.txt | ||
! stderr . | ||
|
||
env SHELL=/bin/bash | ||
exec runme run simple_dagger | ||
stdout 'digest\: sha256' | ||
stdout 'name\: README\.md' | ||
stdout 'size\: ' | ||
|
||
-- shell.dag -- | ||
--- | ||
shell: dagger shell | ||
--- | ||
|
||
```sh {"name":"simple_dagger","terminalRows":"18"} | ||
### Exported in runme.dev as simple_dagger | ||
git github.com/stateful/runme | | ||
head | | ||
tree | | ||
file examples/README.md | ||
``` | ||
|
||
-- golden-list.txt -- | ||
NAME FILE FIRST COMMAND DESCRIPTION NAMED | ||
simple_dagger* shell.dag git github.com/stateful/runme | Yes | ||
-- golden-list-allow-unnamed.txt -- | ||
NAME FILE FIRST COMMAND DESCRIPTION NAMED | ||
-- golden-list-json.txt -- | ||
[ | ||
{ | ||
"name": "simple_dagger", | ||
"file": "shell.dag", | ||
"first_command": "git github.com/stateful/runme |", | ||
"description": "", | ||
"named": true, | ||
"run_all": true | ||
} | ||
] |