Re: [elixir-core:11494] [Proposal] mix build task

2023-07-14 Thread Jonathan Arnett
I ultimately don't care if the name is "setup" or "build", but I do wonder if compilation fits conceptually under the name "setup". To expound on my original idea, I was thinking of having a command that I would run both on the first pull, but also fairly regularly while working on the

Re: [elixir-core:11492] [Proposal] mix build task

2023-07-14 Thread Wojtek Mach
I just realised that for this alias: setup: [“deps.get”, “app.start”] Running: $ iex -S mix setup Just works™. Make of that what you will. :) -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and

Re: [elixir-core:11491] [Proposal] mix build task

2023-07-14 Thread Andrea Leopardi
I'd be super ok with "mix setup" as a standard-ish name, to be clear. :) And I think "mix setup" followed by "iex" or whatever would be good too. > On 14 Jul 2023, at 11:43, Wojtek Mach wrote: > > >> - People new to Elixir just checking out a project from source and trying to >> see if it

Re: [elixir-core:11490] [Proposal] mix build task

2023-07-14 Thread Josh Adams
In general, my happy place is a Makefile anyway. `make` ought to do what I would want this for and is more flexible. t: am curmudgeon On July 14, 2023 9:26:29 AM CDT, Jim Freeze wrote: >On Fri, Jul 14, 2023 at 4:17 AM Christopher Keele >wrote: > >> I think a standard `mix build` interface

Re: [elixir-core:11489] [Proposal] mix build task

2023-07-14 Thread Jim Freeze
On Fri, Jul 14, 2023 at 4:17 AM Christopher Keele wrote: > I think a standard `mix build` interface would be most useful for: > > - People new to Elixir just checking out a project from source and trying > to see if it compiles, using familiar semantics from other langs > - People checking out a

Re: [elixir-core:11488] [Proposal] mix build task

2023-07-14 Thread Wojtek Mach
> - People new to Elixir just checking out a project from source and trying to > see if it compiles, using familiar semantics from other langs I’d love to hear from actual users because to _me_ this feels like a bit of a stretch. I think people don’t want to see whether something compiles,

Re: [elixir-core:11487] [Proposal] mix build task

2023-07-14 Thread Christopher Keele
> Not sure how useful build with compile is, if you run mix test instead of mix compile, build won’t help it. > Phoenix standardized on setup, but it does not include the compile command. I think a standard `mix build` interface would be most useful for: - People new to Elixir just checking out

Re: [elixir-core:11486] [Proposal] mix build task

2023-07-14 Thread José Valim
Phoenix standardized on setup, but it does not include the compile command. Not sure how useful build with compile is, if you run mix test instead of mix compile, build won’t help it. On Fri, Jul 14, 2023 at 09:11 Andrea Leopardi wrote: > I personally like the idea of a mix build alias defined

Re: [elixir-core:11485] [Proposal] mix build task

2023-07-14 Thread Andrea Leopardi
I personally like the idea of a mix build alias defined by mix new. The reason is that, while mix build is usually different for different projects, I like the idea of standardizing on the terminology "build". > On 13 Jul 2023, at 21:21, Jonathan Arnett wrote: > > I'm definitely open to