mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 00:29:46 +02:00
Allow recursive module dirs; Require mod.nu in dirs (#9185)
This commit is contained in:
0
tests/modules/samples/missing_mod_nu/test.nu
Normal file
0
tests/modules/samples/missing_mod_nu/test.nu
Normal file
0
tests/modules/samples/not_allowed/mod.nu
Normal file
0
tests/modules/samples/not_allowed/mod.nu
Normal file
1
tests/modules/samples/spam/bacon/beans/foo.nu
Normal file
1
tests/modules/samples/spam/bacon/beans/foo.nu
Normal file
@@ -0,0 +1 @@
|
||||
export def main [] { 'beans foo' }
|
3
tests/modules/samples/spam/bacon/beans/mod.nu
Normal file
3
tests/modules/samples/spam/bacon/beans/mod.nu
Normal file
@@ -0,0 +1,3 @@
|
||||
export def test [] { 'test' }
|
||||
|
||||
export def main [] { 'beans' }
|
1
tests/modules/samples/spam/bacon/foo.nu
Normal file
1
tests/modules/samples/spam/bacon/foo.nu
Normal file
@@ -0,0 +1 @@
|
||||
export def main [] { 'bacon foo' }
|
3
tests/modules/samples/spam/bacon/mod.nu
Normal file
3
tests/modules/samples/spam/bacon/mod.nu
Normal file
@@ -0,0 +1,3 @@
|
||||
export def test [] { 'test' }
|
||||
|
||||
export def main [] { 'bacon' }
|
Reference in New Issue
Block a user