Main build function.
()
| 24 | return False |
| 25 | |
| 26 | def main(): |
| 27 | """Main build function.""" |
| 28 | print("Building TokenDagger...") |
| 29 | |
| 30 | # Check if we're in the right directory |
| 31 | if not Path("src/tiktoken").exists(): |
| 32 | print("✗ tiktoken source directory not found") |
| 33 | sys.exit(1) |
| 34 | |
| 35 | # Build tiktoken library |
| 36 | if not build_tiktoken_lib(): |
| 37 | sys.exit(1) |
| 38 | |
| 39 | print("✓ TokenDagger build completed") |
| 40 | |
| 41 | if __name__ == "__main__": |
| 42 | main() |
no test coverage detected