Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add signoff check to CI #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2018-2024 Fred Dushin <fred@dushin.net>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

**/_build/**
**/deps/**
**/mix.lock
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2018-2024 Fred Dushin <fred@dushin.net>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# AtomVM Example Programs

Welcome to the AtomVM Example Programs repository!
Expand Down
11 changes: 7 additions & 4 deletions demos/morse_server/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2019-2020 Davide Bettio <davide@uninstall.it>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `morse_server` Application

Welcome to the `morse_server` AtomVM application.
Expand Down Expand Up @@ -42,11 +48,8 @@ For more information about programming on the AtomVM platform, see the [AtomVM P
| Platform | Supported |
|----------------|-----------|
| `esp32` | ✅ |
| `pico` | ❌ |
| `stm32` | ❌ |
| `generic_unix` | ❌ |

For general information about building and executing Erlang AtomVM example programs, see the Erlang example program [README](../../erlang/README.md).




20 changes: 20 additions & 0 deletions demos/morse_server/rebar.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
%
% This file is part of AtomVM.
%
% Copyright 2019-2020 Davide Bettio <davide@uninstall.it>
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.
%
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
%

{erl_opts, [debug_info]}.
{deps, []}.
{plugins, [
Expand Down
6 changes: 6 additions & 0 deletions demos/morse_server/rebar.lock
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
%
% Copyright 2019-2020 Davide Bettio <davide@uninstall.it>
%
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
%

[].
20 changes: 20 additions & 0 deletions demos/morse_server/src/morse_server.app.src
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
%
% This file is part of AtomVM.
%
% Copyright 2019-2020 Davide Bettio <davide@uninstall.it>
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.
%
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
%

{application, morse_server, [
{description, "An OTP library"},
{vsn, "0.1.0"},
Expand Down
6 changes: 6 additions & 0 deletions demos/supervised_discs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2023 Paul Guyot <pguyot@kallisys.net>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `supervised_discs` Application

Welcome to the `supervised_discs` AtomVM application.
Expand Down
6 changes: 6 additions & 0 deletions demos/supervised_discs/rebar.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
%
% Copyright 2023 Paul Guyot <pguyot@kallisys.net>
%
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
%

{erl_opts, [debug_info]}.
{deps, [
{atomvm_lib, {git, "https://github.com/atomvm/atomvm_lib.git", {branch, "master"}}}
Expand Down
6 changes: 6 additions & 0 deletions demos/supervised_discs/rebar.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
%
% Copyright 2023 Paul Guyot <pguyot@kallisys.net>
%
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
%

[{<<"atomvm_lib">>,
{git,"https://github.com/atomvm/atomvm_lib.git",
{ref,"34e056e3de94555d0a51d0a30234cd95ff7920d7"}},
Expand Down
20 changes: 20 additions & 0 deletions demos/supervised_discs/src/supervised_discs.app.src
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
%
% This file is part of AtomVM.
%
% Copyright 2023 Paul Guyot <pguyot@kallisys.net>
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.
%
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
%

{application, supervised_discs, [
{description, "Supervised discs"},
{vsn, "0.1.0"},
Expand Down
20 changes: 20 additions & 0 deletions elixir/Blinky/.formatter.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
#
# This file is part of AtomVM.
#
# Copyright 2018 Davide Bettio <davide@uninstall.it>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#

# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
Expand Down
6 changes: 6 additions & 0 deletions elixir/Blinky/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2018 Davide Bettio <davide@uninstall.it>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `Blinky` Application

Welcome to the `Blinky` AtomVM application.
Expand Down
20 changes: 20 additions & 0 deletions elixir/Blinky/mix.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
#
# This file is part of AtomVM.
#
# Copyright 2018 Davide Bettio <davide@uninstall.it>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#

defmodule Blinky.MixProject do
use Mix.Project

Expand Down
20 changes: 20 additions & 0 deletions elixir/HelloWorld/.formatter.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
#
# This file is part of AtomVM.
#
# Copyright 2018 Davide Bettio <davide@uninstall.it>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#

# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
Expand Down
4 changes: 4 additions & 0 deletions elixir/HelloWorld/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 Fred Dushin <fred@dushin.net>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

_build/*
_checkouts/*
src/config.erl
Expand Down
6 changes: 6 additions & 0 deletions elixir/HelloWorld/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2018 Davide Bettio <davide@uninstall.it>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `HelloWorld` Application

Welcome to the `HelloWorld` AtomVM application.
Expand Down
20 changes: 20 additions & 0 deletions elixir/HelloWorld/mix.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
#
# This file is part of AtomVM.
#
# Copyright 2018 Davide Bettio <davide@uninstall.it>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#

defmodule HelloWorld.MixProject do
use Mix.Project

Expand Down
4 changes: 4 additions & 0 deletions elixir/LEDC_Example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 Winford (Uncle Grumpy) <winford@object.stream>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

# The directory Mix will write compiled artifacts to.
/_build/

Expand Down
6 changes: 6 additions & 0 deletions elixir/LEDC_Example/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2022 Winford (Uncle Grumpy) <winford@object.stream>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `LEDC_Example` Application

Welcome to the `LEDC_Example` AtomVM application.
Expand Down
2 changes: 1 addition & 1 deletion elixir/LEDC_Example/lib/LEDC_Example.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# This file is part of AtomVM.
#
# Copyright 2022 Winford (Uncle Grumpy) <dwinford@proton.me>
# Copyright 2022 Winford (Uncle Grumpy) <winford@object.stream>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
20 changes: 20 additions & 0 deletions elixir/LEDC_Example/mix.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
#
# This file is part of AtomVM.
#
# Copyright 2022 Winford (Uncle Grumpy) <winford@object.stream>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#

defmodule LedcExample.MixProject do
use Mix.Project

Expand Down
5 changes: 5 additions & 0 deletions elixir/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!---
Copyright 2018-2024 Fred Dushin <fred@dushin.net>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# AtomVM Elixir Example Programs

Expand Down
5 changes: 5 additions & 0 deletions erlang/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!---
Copyright 2018-2024 Fred Dushin <fred@dushin.net>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# AtomVM Erlang Example Programs

Expand Down
4 changes: 4 additions & 0 deletions erlang/arepl_example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 Fred Dushin <fred@dushin.net>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

_build/*
_checkouts/*
src/config.erl
Expand Down
6 changes: 6 additions & 0 deletions erlang/arepl_example/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2023 Fred Dushin <fred@dushin.net>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `arepl_example` Application

Welcome to the `arepl_example` AtomVM application.
Expand Down
4 changes: 4 additions & 0 deletions erlang/blinky/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 Fred Dushin <fred@dushin.net>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

_build/*
_checkouts/*
src/config.erl
Expand Down
6 changes: 6 additions & 0 deletions erlang/blinky/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2023 Fred Dushin <fred@dushin.net>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `blinky` Application

Welcome to the `blinky` AtomVM application.
Expand Down
4 changes: 4 additions & 0 deletions erlang/deep_sleep/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright 2023 Fred Dushin <fred@dushin.net>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

_build/*
_checkouts/*
src/config.erl
Expand Down
6 changes: 6 additions & 0 deletions erlang/deep_sleep/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!---
Copyright 2023 Fred Dushin <fred@dushin.net>

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
-->

# `deep_sleep` Application

Welcome to the `deep_sleep` AtomVM application.
Expand Down
Loading