Skip to content

Commit

Permalink
Not pretty but practical fix to have node shebang hit (#422)
Browse files Browse the repository at this point in the history
* Not pretty but practical fix to have node shebang hit

* Right this time
  • Loading branch information
sourishkrout authored Nov 10, 2023
1 parent cc380d9 commit b24611f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
brew "bufbuild/buf/buf"
brew "grpcurl"
brew "go"
brew "node"
3 changes: 3 additions & 0 deletions testdata/script/basic.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ exec sh -c 'runme run --allow-unnamed package-main'
stdout 'Hello from Go, runme!'
! stderr .

env PATH=/opt/homebrew/bin:$PATH
exec runme run hello-js
stdout 'Hello, runme, from javascript!'
! stderr .

env PATH=/opt/homebrew/bin:$PATH
exec runme run hello-js-cat
stdout 'console\.log\(\"Hello, runme, from javascript!\"\)'
! stderr .

env PATH=/opt/homebrew/bin:$PATH
exec runme run hello-python
stdout 'Hello from Python'
! stderr .
Expand Down

0 comments on commit b24611f

Please sign in to comment.