Build Tool Mix

Mix is a build automation tool for working with applications written in the Elixir programming language.

Mix was created in 2012 by Anthony Grimes, who took inspiration from Clojure's Leiningen. Soon after, Mix was merged into the Elixir programming language itself and to this day is one of the six applications that are part of the Elixir language. Mix provides functionality for creating, compiling, and testing Elixir source code and for managing dependencies and deploying Elixir applications.

Mix
Original author(s)Anthony Grimes
Initial release2012; 12 years ago (2012)
Stable release
1.11.4 / 16 March 2021; 3 years ago (2021-03-16)
Written inElixir
PlatformErlang
TypeBuild tool
LicenseApache License 2.0
Websitehexdocs.pm/mix/Mix.html

Mix tasks

Mix provides tasks to create, clean, build, compile, run, and test Elixir applications. For example, Mix may be used to create a new Elixir project, such as a new hello_world application. Running mix new hello_world will result in

$ mix new hello_world * creating README.md * creating .formatter.exs * creating .gitignore * creating mix.exs * creating config * creating config/config.exs * creating lib * creating lib/hello_world.ex * creating test * creating test/test_helper.exs * creating test/hello_world_test.exs  Your Mix project was created successfully. You can use "mix" to compile it, test it, and more:      cd hello_world     mix test  Run "mix help" for more commands. 

Mix projects

Mix uses the information defined in a Mix Project to compile, build, and assemble the application. By convention, this information is typically managed in an Elixir script file named mix.exs. The file may include version information, dependencies, and other configuration information.

Application

As the Elixir build tool, Mix is used on applications that target the Erlang virtual machine (as opposed to the Java virtual machine or the .NET Common Language Runtime). Mix is used with web applications built on the Phoenix framework.

See also

References


Tags:

Build Tool Mix Mix tasksBuild Tool Mix Mix projectsBuild Tool Mix ApplicationBuild Tool MixBuild automationElixir (programming language)Programming languageSource code

🔥 Trending searches on Wiki English:

Abigail (2024 film)Liverpool F.C.Chennai Super KingsVivian CashRashida JonesKanye WestRicky BhuiElizabeth IIWorld War IIExhumaTheo JamesLarry LloydList of Marvel Cinematic Universe filmsShōgun (novel)ADX FlorenceJohn Eastman2024 Summer OlympicsRebekah NeumannCarroll ShelbyVirat KohliEaster BunnyMikhail GorbachevBeetlejuiceIlia MalininFTXNative Americans in the United States2024 Formula One World ChampionshipHarold RamisChalino SánchezCurb stompJimmy CarterHouse of the DragonRule 34Jordan CameronIsrael–Hamas warCatSergey BrinDebbie RoweUEFA Euro 2024LentKwena MaphakaBig3Ricky MartinSisqóKinds of KindnessMadame Web (film)Robin WilliamsJay-ZMV DaliHazbin HotelNew York CityMessier 87Cosmo JarvisGhostbustersNarendra ModiAnimal (2023 Indian film)Seth MacFarlaneRed Eye (2005 American film)Lamine YamalPaul RuddRoad House (2024 film)Brittany SnowKeanu ReevesUnited StatesJohn F. KennedyList of Indian Premier League records and statisticsReba McEntireBarack ObamaState of PalestineKim PorterVon Erich familyMichelle PhillipsNazi GermanyManchester United F.C.HTTP 404🡆 More