Commit Graph
351 Commits
Author SHA1 Message Date
José Valim 5c45ea6fed Fix docs link
Related to #13284.
2024-01-27 11:46:21 +01:00
José Valim 91de7e13b5 Add logo to docs 2024-01-21 11:12:04 +01:00
José Valim f437e8695b Require Erlang/OTP 25+ (#13045) 2023-10-30 23:55:36 +01:00
José Valim a2bd1f29e2 No longer version per minor branch 2023-10-10 23:38:26 +02:00
José Valim 997d92575b Fix links, add pending images 2023-08-21 14:44:49 +02:00
José Valim 7e273b8443 Generate ePUB format 2023-08-21 14:23:32 +02:00
Vinícius Müller 4cd08e5f65 Check formatting when running tests for specific projects (#12700) 2023-06-22 23:54:37 +02:00
José Valim a1e07266f1 Support distributed File.Stream (#12578) 2023-05-23 00:00:03 +02:00
Eric Meadows-Jönsson 54756a7908 Fix builds.hex.pm upload (#12580) 2023-05-22 17:23:22 +02:00
Matthew Smith 414ebf87c4 Disable parallel build in Make 4.4 (#12244)
In versions of GNU Make prior to 4.4, ".NOTPARALLEL: compile" made the whole
build run serially. In 4.4 and later, ".NOTPARALLEL: compile" makes only
the compile target run serially.

This breaks the build and can lead to e.g. EEx being built before Mix.
2022-11-15 23:04:17 +01:00
José Valim 6f2c669a98 Generate docs_config.js for version chooser in ExDoc 2022-11-11 12:02:41 +01:00
José Valim eb7f640a63 Remove Cirrus CI (#12132)
It has served its purpose while developing releases
but with the functionality stable and shellcheck,
we have our basis covered.
2022-09-14 09:03:20 +02:00
José Valim 239f8f9e3b Require Erlang/OTP 24 2022-07-27 13:20:42 +02:00
Wojtek Mach 637c0f4fbb Escape $(MAKE) path (#12004)
This is particularly useful on Windows where make could be under for
example:

    C:\Program Files (x86)\GnuWin32\bin\make.exe
2022-07-22 18:56:06 +02:00
Eksperimental 3d4ffeb89d Makefile: allow setting DOCS_FORMAT (#11733)
This allows us to generate Epub documents.

    DOCS_FORMAT=epub make docs
2022-03-28 07:18:19 +02:00
Michał Łępicki e94d64835d Recreate local.sample task fixture in test_helper.exs (#11640) 2022-02-17 16:43:55 +01:00
Luc Fueston cba50b7a28 Warn on confusable non-ascii identifiers (UTS 39, C2) (#11582) 2022-01-21 09:37:25 +01:00
Michał Łępicki 9e898f8b5a Remove references to HiPE (#11543)
* Fix typo in Dialyzer CI step name

* Remove references to HiPE
2022-01-05 13:37:17 +01:00
José Valim a9cecc2e3a Remove support for Erlang/OTP 22 2022-01-05 09:14:03 +01:00
José Valim 0e7665e1eb No longer version archives 2021-12-30 14:29:11 +01:00
José Valim 16284830e4 Update references to main branch 2021-11-07 20:07:38 +01:00
José Valim b2491fd839 Depend on Erlang for computing grapheme clusters (#11024)
Erlang ships with its own embedding of the Unicode
Codebase for a couple releases and this release changes
Elixir to depend on it in order to compute grapheme
clusters.

The Erlang implementation was up to 2x faster in low
codepoints (such as latin1) while the Elixir one could
be faster up to 3x in high codepoints (such as emoji)
so at the end the performance results are roughly the
same. As a benefit, we no longer need to ship our copy
of the grapheme cluster algorithm, which would take up
to 250kB in disk and more than 15 seconds to compile.

Note we still keep our own String downcase and upcase
algorithms, as our version is considerably more efficient
on all cases since it works exclusively with binaries
(more than 5x faster).
2021-06-01 12:44:55 +02:00
José Valim 264bed3468 Run Mix suite last 2021-04-14 15:45:43 +02:00
Wojtek Mach 7039b6d6ae Update canonical instruction in Makefile (#10874) 2021-04-04 09:25:35 +02:00
Wojtek Mach 8f8822535a Use docs canonical version in all built-in apps (#10872)
Before:

https://hexdocs.pm/elixir/1.12.0-rc.0/changelog.html contains links like:

  - [`Mix.install/2`](https://hexdocs.pm/mix/Mix.html#install/2)

which currently 404.

After:

https://hexdocs.pm/elixir/1.12.0-rc.0/changelog.html would contain:

  - [`Mix.install/2`](https://hexdocs.pm/mix/1.12/Mix.html#install/2)

See demo: http://wojtekmach.pl/docs/elixir/1.12/elixir/changelog.html
2021-04-04 08:35:30 +02:00
José Valim b059d5ad37 Start v1.13-dev 2021-03-29 17:49:26 +02:00
Eksperimental e5d8525813 Improve grammar around "then" (#10727) 2021-02-17 16:39:16 +01:00
Eksperimental 369f152340 Fix canonical link in HTML docs (#10206)
The comments would add space to the CANONICAL variable,
redering the link like
<link rel="canonical" href="https://hexdocs.pm/elixir/v1.10/ /Kernel.html" />
2020-07-18 08:23:23 +02:00
Michał Łępicki 589ffaafd5 Include all relevant OTP apps when building dialyzer PLT (#9975)
Fix many "Unknown function" and "Unknown type" dialyzer errors
visible when generating the dialyzer PLT and when running dialyzer analysis.
2020-04-26 18:06:34 +02:00
José Valim 68a66d5141 Remove verbose flag from makefile 2020-03-28 10:51:10 +01:00
Fernando Tapia Rico f322db0893 Improve 'check_reproducible' script (#9879)
The new script performs a "BEAM-diff" in case of BEAM files.
2020-03-15 12:19:20 +01:00
Wojtek Mach ee9169f557 Do not compile erlang files with warnings_as_errors unless on CI (#9821) 2020-02-16 16:23:06 +01:00
Devon Estes 8dcb537e1c Allow running a single test file from make (#9669)
One thing I've found myself wanting quite a lot when working on Elixir
is the ability to run single tests, or at least single test files,
easily with `make test_stdlib` or something. With this change this is
now possible - you can run `make test_stdlib TEST_FILES=macro_test.exs`
to just run that file, or
`make test_ex_unit TEST_FILE=ex_unit/formatter_test.exs`.
2019-12-24 14:40:52 +01:00
Eksperimental a39252b6c7 Use long attributes in make docs target + Use double-quotes around attribute values (#9650)
* Use long attributes in make docs target

Use Elixir as a learning tool. Use long attributes to lower the barrier so users can
see the meaning of ExDoc command line attributes

* Use double-quotes around attribute values in docs target in Makefile
2019-12-13 20:08:39 +01:00
Eksperimental 5d07658601 Introduce "format" make target (#9617)
It runs the formatter from the current elixir code,
and not from the locally or globally installed version.
2019-12-01 08:58:53 +01:00
Eksperimental 56ddd65468 Add missing ex_unit folder to check_reproducible Make task (#9575) 2019-11-22 10:18:17 +01:00
Eksperimental fd44ea84be Improve config and increase execution speed of Cirrus CI (#9573)
- Make use of $CIRRUS_WORKING_DIR instead of spawning a new process with $(pwd).
- TEST_FORMATTED environmental variable added.
- move fast executing scripts, such as "dialyzer" to the top of the list.
- move "rm -rf .git" and "make compile" to the install script.
- Put each command their own named scripts (i.e., test_formatted_script, dialyzer_script, test_erlang_script, test_elixir_script, check_posix_compliant_script, check_reproducible_script).
- Split in the Windows task, the test_script into install_script and test_script, to mimic the scripts in the test_linux_task.
- Messages added on success or when tests are skipped, so the user is better informed in the CI results page.
- Added script that shows the output of `elixir --version`.
- Left a comment in "test" task in Makefile to update accordingly .cirrus.yml if updated.
- Use CIRRUS_CLONE_DEPTH: 1 to only clone the latest changes
- Run formatter on Windows
- Set global ELIXIRC_OPTS and ERLC_OPTS for Linux and Windows
- CPU and memory optimized
2019-11-22 09:39:20 +01:00
Łukasz Jan Niemier f128ae3d7a Use Erlang's logger as main logging implementation (#9333) 2019-11-01 15:53:05 +01:00
Fernando Tapia Rico acf4407409 Make 'make test_formatter' compatible with Windows (#9227)
The current version is not compatible because of the path
separators. It fails with the error:

    'bin' is not recognized as an internal or external command,
    operable program or batch file.
2019-07-16 16:54:53 +02:00
Eric Meadows-Jönsson 1f974f869e Move unreachable function check from xref to group pass (#9168) 2019-06-28 10:25:49 +02:00
José Valim 927250acd0 Use proper heading for checksums 2019-05-15 00:14:40 +02:00
José Valim b70e1a5319 Updates to Makefile and man 2019-02-01 23:44:40 +01:00
Eksperimental 7d454dbdd2 CI feature: Reproducible build (#8701)
See https://github.com/elixir-lang/elixir/issues/8689 for more information
2019-01-28 10:24:14 +01:00
Wojtek Mach bb947a839a Do not compile Elixir with --warnings-as-errors (#8716)
When working on Elixir, it's useful to sometimes let warnings slip. On CI we run with the flags.
2019-01-26 00:16:36 +01:00
Michał Muskała 2f350dda02 Simplify Makefile by introducing --path option to compile.app task (#8438) 2018-12-05 17:10:56 +01:00
José Valim 654b24f24f Revert "Add new line after make test_* tasks are executed (#8316)"
This reverts commit 12c47620b3.
2018-10-22 14:19:09 +02:00
Eksperimental 12c47620b3 Add new line after make test_* tasks are executed (#8316) 2018-10-22 14:08:14 +02:00
Eksperimental d0e101fda1 Link to https://elixir-lang.org instead of to http:// (#8272) 2018-10-10 09:45:52 +02:00
Eksperimental 3a1261b937 Use ex_unit and not exunit in Makefile log (#8265) 2018-10-09 22:36:05 +02:00
Michał Muskała 131f4c17b0 Treat warnings as errors (#8006) 2018-08-23 23:47:24 +02:00