Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Sample of the module dependency issue #30

Merged
merged 1 commit into from

2 participants

Jonathan Matheus James Kovacs
Jonathan Matheus

I couldn't figure out how to import modules using psake config inside the test builder, but the test and modules are there.

James Kovacs JamesKovacs merged commit 8e67ebd into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 24, 2012
  1. Jonathan Matheus

    Added test for issue with running a module function that depends on a…

    kblooie authored
    … function from another module
This page is out of date. Refresh to see the latest.
5 specs/Modules/ModuleA.psm1
View
@@ -0,0 +1,5 @@
+function Execute-ModuleAFunction {
+ Execute-ModuleBFunction
+}
+
+Export-ModuleMember -Function "Execute-ModuleAFunction"
4 specs/Modules/ModuleB.psm1
View
@@ -0,0 +1,4 @@
+function Execute-ModuleBFunction {
+}
+
+Export-ModuleMember -Function "Execute-ModuleBFunction"
5 specs/executing_module_function_that_depends_on_another_module_should_work.ps1
View
@@ -0,0 +1,5 @@
+task default -depends test
+
+task test {
+ Execute-ModuleAFunction
+}
Something went wrong with that request. Please try again.