Browse Source

mix tasks: add legal boilerplate

tags/v0.9.9
William Pitcock 5 years ago
parent
commit
69ad1039ba
5 changed files with 20 additions and 0 deletions
  1. +4
    -0
      lib/mix/tasks/pleroma/common.ex
  2. +4
    -0
      lib/mix/tasks/pleroma/instance.ex
  3. +4
    -0
      lib/mix/tasks/pleroma/relay.ex
  4. +4
    -0
      lib/mix/tasks/pleroma/uploads.ex
  5. +4
    -0
      lib/mix/tasks/pleroma/user.ex

+ 4
- 0
lib/mix/tasks/pleroma/common.ex View File

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.Common do
@doc "Common functions to be reused in mix tasks"
def start_pleroma do


+ 4
- 0
lib/mix/tasks/pleroma/instance.ex View File

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.Instance do
use Mix.Task
alias Mix.Tasks.Pleroma.Common


+ 4
- 0
lib/mix/tasks/pleroma/relay.ex View File

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.Relay do
use Mix.Task
alias Pleroma.Web.ActivityPub.Relay


+ 4
- 0
lib/mix/tasks/pleroma/uploads.ex View File

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.Uploads do
use Mix.Task
alias Pleroma.{Upload, Uploaders.Local}


+ 4
- 0
lib/mix/tasks/pleroma/user.ex View File

@@ -1,3 +1,7 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Mix.Tasks.Pleroma.User do
use Mix.Task
import Ecto.Changeset


Loading…
Cancel
Save