[SERVER-50497] Refactor exists() in icecream.py and ccache.py Created: 24/Aug/20 Updated: 08/Sep/20 Resolved: 08/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 4.5 Desired |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Ryan Egesdahl (Inactive) | Assignee: | Ryan Egesdahl (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Dev Platform 2020-09-21 | ||||||||
| Participants: | |||||||||
| Description |
|
The Icecream and ccache tools have an exists() method that is used in generate() to determine whether the tool should run. However, it would be much better to refactor this behavior so exists() can be safely called from SConstruct (or {{SConstript}}s) in preparation for being sent upstream, so it can more closely match the way other SCons tools are used. |
| Comments |
| Comment by Ryan Egesdahl (Inactive) [ 08/Sep/20 ] |
|
This has already been done as part of another issue. |