File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ class Build : BuildGroup
158158 if (n.startsWith("." )) return false
159159 if (n == "tmp" ) return false
160160 if (n == "temp" ) return false
161+ if (n.startsWith("test" ) && f.ext == "pod" ) return false
161162 if (f.isDir) log.info(" $path " )
162163 return true
163164 }
@@ -187,6 +188,7 @@ class Build : BuildGroup
187188 @Target { help = "Build fantom-1.0.xx.zip distribution" }
188189 Void dist()
189190 {
191+ spawnOnChildrenVars["FAN_BUILD_STRIPTEST" ] = "true"
190192 superclean
191193 compile
192194 examples
@@ -229,6 +231,8 @@ class Build : BuildGroup
229231// Utils
230232//////////////////////////////////////////////////////////////////////////
231233
234+ Str : Str spawnOnChildrenVars := [: ]
235+
232236 override Void spawnOnChildren(Str target)
233237 {
234238 // make exec task to spawn buildboot and buildpods
@@ -240,6 +244,10 @@ class Build : BuildGroup
240244 // wrong FAN_HOME to buildpods.fan
241245 pods.process.env["FAN_HOME" ] = devHomeDir.osPath
242246
247+ // set extra environment variables
248+ boot.process.env.setAll(spawnOnChildrenVars)
249+ pods.process.env.setAll(spawnOnChildrenVars)
250+
243251 // spawn
244252 boot.run
245253 pods.run
You can’t perform that action at this time.
0 commit comments