(env)
| 10 | SCons.Warnings.enableWarningClass(ToolRacketWarning) |
| 11 | |
| 12 | def _detect(env): |
| 13 | try: |
| 14 | return env['raco'] |
| 15 | except KeyError: |
| 16 | pass |
| 17 | |
| 18 | go = env.WhereIs('raco') |
| 19 | if go: |
| 20 | return go |
| 21 | |
| 22 | SCons.Warnings.warn(RacketNotFound, 'Could not find raco executable') |
| 23 | |
| 24 | def exists(env): |
| 25 | env.Detect('raco') |