Skip to content

turri 0.4.1

Choose a tag to compare

@zanjonke zanjonke released this 22 Nov 11:12
npm install -g @turri-dev/cli
turri doctor

Fixed

  • Launching on Windows: a launch no longer fails before it starts with Could not export <module>'s code ... tar: ... Cannot open: No such file or directory - Git Bash's tar read the backslashes in the project's path as escapes.
  • Paths on Windows: turri tells whether a file is inside a folder, names a codebase's files and the .plain files in a ***plain diff, and hands your testing scripts their folders the same way on Windows as on macOS and Linux. The testing scripts get C:/Users/..., which Git Bash's tools read as it is, and a path on another drive is no longer taken for one inside the project. Windows with Git for Windows' bash is supported as macOS and Linux are, no longer best effort - with no OS sandbox under the agents' commands, the command check and the audit holding alone.
  • PLAIN_TEMPLATE_DIRS is split as PATH is: on ; on Windows, so a C:\ folder is no longer cut in two.
  • The testing scripts turri writes run on macOS, Linux and Windows alike: a Java one no longer needs macOS's java_home, which failed it on Linux - it takes JAVA_HOME, else the java on the PATH; a Python one finds its virtual environment's tools on Windows too, and an interpreter that really runs; a conformance testing script finds its tests folder from a Windows path; and none uses a tool only some machines have. Scripts already in your project stay as they are.
  • A Python unit testing script written from turri's template no longer fails the static checks of a clean build by checking uv's own cache.