Skip to content

Commit e1d171e

Browse files
authored
Add inline License / Copyright to Erlang files (#14255)
1 parent d12286c commit e1d171e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+182
-41
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ docs_logger: compile ../ex_doc/bin/ex_doc
226226

227227
Docs.zip: docs
228228
rm -f Docs.zip
229-
zip -9 -r Docs.zip CHANGELOG.md doc NOTICE LICENSE README.md
229+
zip -9 -r Docs.zip CHANGELOG.md doc LICENSE README.md
230230
@ echo "Docs file created $(CURDIR)/Docs.zip"
231231

232232
Precompiled.zip: build_man compile
233233
rm -f Precompiled.zip
234-
zip -9 -r Precompiled.zip bin CHANGELOG.md lib/*/ebin lib/*/lib LICENSE Makefile man NOTICE README.md VERSION
234+
zip -9 -r Precompiled.zip bin CHANGELOG.md lib/*/ebin lib/*/lib LICENSE Makefile man README.md VERSION
235235
@ echo "Precompiled file created $(CURDIR)/Precompiled.zip"
236236

237237
#==> Test tasks

NOTICE

Lines changed: 0 additions & 38 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion

lib/elixir/scripts/windows_installer/update_system_path.erl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env escript
2+
%% SPDX-License-Identifier: Apache-2.0
3+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
4+
25
%%! -noinput
36

47
%% This file is used by the Elixir installer and uninstaller.

lib/elixir/src/elixir.app.src

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
%% SPDX-License-Identifier: Apache-2.0
2+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
3+
%% SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
{application, elixir,
26
[{description, "elixir"},
37
{vsn, '$will-be-replaced'},

lib/elixir/src/elixir.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
%% SPDX-License-Identifier: Apache-2.0
2+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
3+
%% SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
%% Main entry point for Elixir functions. All of those functions are
26
%% private to the Elixir compiler and reserved to be used by Elixir only.
37
-module(elixir).

lib/elixir/src/elixir.hrl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
%% SPDX-License-Identifier: Apache-2.0
2+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
3+
%% SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
-define(key(M, K), map_get(K, M)).
26
-define(ann(Meta), elixir_erl:get_ann(Meta)).
37
-define(line(Meta), elixir_utils:get_line(Meta)).

lib/elixir/src/elixir_aliases.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
%% SPDX-License-Identifier: Apache-2.0
2+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
3+
%% SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
-module(elixir_aliases).
26
-export([inspect/1, concat/1, safe_concat/1, format_error/1,
37
ensure_loaded/3, expand/4, expand_or_concat/4, alias/6, require/5]).

lib/elixir/src/elixir_bitstring.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
%% SPDX-License-Identifier: Apache-2.0
2+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
3+
%% SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
-module(elixir_bitstring).
26
-export([expand/5, format_error/1, validate_spec/2]).
37
-import(elixir_errors, [function_error/4]).

lib/elixir/src/elixir_bootstrap.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
%% SPDX-License-Identifier: Apache-2.0
2+
%% SPDX-FileCopyrightText: 2021 The Elixir Team
3+
%% SPDX-FileCopyrightText: 2012 Plataformatec
4+
15
%% An Erlang module that behaves like an Elixir module
26
%% used for bootstrapping.
37
-module(elixir_bootstrap).

0 commit comments

Comments
 (0)