Skip to content

Conversation

@doorgan
Copy link
Collaborator

@doorgan doorgan commented Nov 18, 2025

Adds support for Windows
Closes #89
Fixes #60

Also adds a just start-tcp task to start a plain release in TCP mode for development because expert builds burrito releases SO SLOW on my windows machine that it spent more time waiting for the build than actually working on the relevant changes

One note here is that this implementation uses the user's globally installed elixir on Windows. I don't know if there's any version manager like mise/asdf/nix on windows, if there is we'll need to get the PATH for the project folder like we do for Unix

Another note is that for reasons I don't yet understand windows is way slower than unix even on my beefy machine, so I had to increase the timeouts for a few tests. I was also seeing a few timing issues due to this that I hope were reliably mitigated.

@doorgan

This comment was marked as outdated.

@doorgan

This comment was marked as resolved.

@doorgan doorgan force-pushed the doorgan/windows-support branch 5 times, most recently from 43c27ad to c938c4a Compare November 20, 2025 10:46
@doorgan
Copy link
Collaborator Author

doorgan commented Nov 21, 2025

There's a few tests failing on windows that I need to fix but this puppy can run
image

@doorgan doorgan marked this pull request as ready for review November 21, 2025 21:34
Comment on lines -168 to -180
defp app_globs do
app_globs = Enum.map(@allowed_apps, fn app_name -> "/**/#{app_name}*/ebin" end)
["/**/priv" | app_globs]
end

def glob_paths(_) do
entries =
for entry <- :code.get_path(),
entry_string = List.to_string(entry),
entry_string != ".",
Enum.any?(app_globs(), &PathGlob.match?(entry_string, &1, match_dot: true)) do
entry
end
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows was not finding the files on windows with the old code

@doorgan doorgan force-pushed the doorgan/windows-support branch from 3b99b09 to c476bd9 Compare November 21, 2025 22:40
@doorgan doorgan force-pushed the doorgan/windows-support branch 3 times, most recently from 0f11f1a to 9269f26 Compare November 26, 2025 05:08
@mhanberg
Copy link
Member

Is this ready for review?

@doorgan
Copy link
Collaborator Author

doorgan commented Nov 26, 2025

@mhanberg almost, there's a few failing tests on windows I'm fixing. I'll tag you when it is.

@doorgan doorgan force-pushed the doorgan/windows-support branch from 9269f26 to bf7cb5f Compare November 26, 2025 19:19
@doorgan doorgan force-pushed the doorgan/windows-support branch from 86651c4 to 1e93243 Compare November 27, 2025 02:49
@doorgan
Copy link
Collaborator Author

doorgan commented Nov 27, 2025

@mhanberg it's ready for review now!

@doorgan doorgan requested a review from mhanberg November 27, 2025 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

windows support status just release-local does not finx mix.exs

3 participants