Check-in [e1d82ef47f]
Overview
SHA1:e1d82ef47f9446f0d91d03bc5695edb155b96ca1
Date: 2014-12-22 20:12:41
User: rkeene
Comment:Updated to reverse the order of dependencies, as appears to be done in the modules.dep file
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-12-23
06:19
[2fe4c86606] Updated to include more logs for TSMF starter (user: rkeene, tags: trunk)
2014-12-22
20:12
[e1d82ef47f] Updated to reverse the order of dependencies, as appears to be done in the modules.dep file (user: rkeene, tags: trunk)
18:31
[2d04941e48] Updated to try to make scanning smarter (user: rkeene, tags: trunk)
Changes

Modified tuapi.tcl from [7646d583b1] to [7e7b0aca26].

390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
		close $fd

		# Load dependencies
		set deps_file [file join $modules_dir modules.dep]
		set fd [open $deps_file]
		::tuapi::helper::foreach_line $fd ":" {
			set module [string trim [lindex $line 0]]
			set deps [split [string trim [join [lrange $line 1 end]]]]

			set module_basename [file rootname [file tail $module]]
			set module_basename_alt1 [string map [list "_" "-"] $module_basename]
			set module_basename_alt2 [string map [list "-" "_"] $module_basename]

			set alias2module($module_basename) $module
			set alias2module($module_basename_alt1) $module







|







390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
		close $fd

		# Load dependencies
		set deps_file [file join $modules_dir modules.dep]
		set fd [open $deps_file]
		::tuapi::helper::foreach_line $fd ":" {
			set module [string trim [lindex $line 0]]
			set deps [lreverse [split [string trim [join [lrange $line 1 end]]]]]

			set module_basename [file rootname [file tail $module]]
			set module_basename_alt1 [string map [list "_" "-"] $module_basename]
			set module_basename_alt2 [string map [list "-" "_"] $module_basename]

			set alias2module($module_basename) $module
			set alias2module($module_basename_alt1) $module