mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-06 07:20:30 +00:00
Further licensing work
- Fix several inaccuracies with several files not marking Dan's authorship. Most of these are new files, where the code was moved from somewhere else: - In the public API: IDynamicLuaObject, ILuaAPI, TaskCallbakc, IDynamicPeripheral, UpgradeBase - In the ROM: fs, http, require - Do not mark Dan as an author for entirely new code. This affects DetailHelpers, DropConsumer, FluidData, InventoryMethods, ItemDetails, MonitorRenderState, NoTermComputerScreen, Palette, PlatformHelperImpl, UploadFileMessage, the Terminal tests, and any speaker-related files. - Relicence many files under the MPL where we have permission to do so. See #1339 for further details. Thank you to everyone who has contributed so far! Cannot overstate how appreciated it is <3.
This commit is contained in:
parent
e876685f2a
commit
a9547d1d6f
@ -1,6 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
#
|
||||
# SPDX-License-Identifier: LicenseRef-CCPL
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
image:
|
||||
file: config/gitpod/Dockerfile
|
||||
|
11
.reuse/dep5
11
.reuse/dep5
@ -9,6 +9,8 @@ Files:
|
||||
projects/common/src/testMod/resources/data/cctest/structures/*
|
||||
projects/fabric/src/generated/*
|
||||
projects/forge/src/generated/*
|
||||
projects/web/src/export/index.json
|
||||
projects/web/src/export/items/minecraft/*
|
||||
Comment: Generated/data files are CC0.
|
||||
Copyright: The CC: Tweaked Developers
|
||||
License: CC0-1.0
|
||||
@ -41,7 +43,6 @@ License: MPL-2.0
|
||||
Files:
|
||||
doc/images/*
|
||||
doc/logo.png
|
||||
projects/common/src/main/resources/assets/computercraft/lang/*
|
||||
projects/common/src/main/resources/assets/computercraft/models/*
|
||||
projects/common/src/main/resources/assets/computercraft/textures/*
|
||||
projects/common/src/main/resources/pack.mcmeta
|
||||
@ -53,11 +54,17 @@ Files:
|
||||
projects/core/src/main/resources/data/computercraft/lua/rom/modules/turtle/.ignoreme
|
||||
projects/core/src/main/resources/data/computercraft/lua/rom/motd.txt
|
||||
projects/core/src/main/resources/data/computercraft/lua/rom/programs/fun/advanced/levels/*
|
||||
projects/web/src/export/*
|
||||
projects/web/src/export/items/computercraft/*
|
||||
Comment: Bulk-license original assets as CCPL.
|
||||
Copyright: 2011 Daniel Ratcliffe
|
||||
License: LicenseRef-CCPL
|
||||
|
||||
Files:
|
||||
projects/common/src/main/resources/assets/computercraft/lang/*
|
||||
Comment: Community-contributed license files
|
||||
Copyright: 2017 The CC: Tweaked Developers
|
||||
License: LicenseRef-CCPL
|
||||
|
||||
Files:
|
||||
.github/*
|
||||
Comment:
|
||||
|
@ -1,6 +1,6 @@
|
||||
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package cc.tweaked.gradle
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
#
|
||||
# SPDX-License-Identifier: LicenseRef-CCPL
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
FROM gitpod/workspace-base
|
||||
|
||||
|
@ -5,7 +5,7 @@ module: [kind=event] computer_command
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-CCPL
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
-->
|
||||
|
||||
The @{computer_command} event is fired when the `/computercraft queue` command is run for the current computer.
|
||||
|
@ -5,7 +5,7 @@ module: [kind=event] redstone
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-CCPL
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
-->
|
||||
|
||||
The @{event!redstone} event is fired whenever any redstone inputs on the computer change.
|
||||
|
@ -6,7 +6,7 @@ see: commands.execAsync To run a command which fires a task_complete event.
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-CCPL
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
-->
|
||||
|
||||
The @{task_complete} event is fired when an asynchronous task completes. This is usually handled inside the function call that queued the task; however, functions such as @{commands.execAsync} return immediately so the user can wait for completion.
|
||||
|
@ -5,7 +5,7 @@ module: [kind=event] term_resize
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-CCPL
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
-->
|
||||
|
||||
The @{term_resize} event is fired when the main terminal is resized. For instance:
|
||||
|
@ -5,7 +5,7 @@ module: [kind=event] terminate
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-CCPL
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
-->
|
||||
|
||||
The @{terminate} event is fired when <kbd>Ctrl-T</kbd> is held down.
|
||||
|
@ -5,7 +5,7 @@ module: [kind=event] turtle_inventory
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-CCPL
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
-->
|
||||
|
||||
The @{turtle_inventory} event is fired when a turtle's inventory is changed.
|
||||
|
@ -5,7 +5,7 @@ module: [kind=guide] gps_setup
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
||||
|
||||
SPDX-License-Identifier: LicenseRef-CCPL
|
||||
SPDX-License-Identifier: MPL-2.0
|
||||
-->
|
||||
|
||||
# Setting up GPS
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
--[[-
|
||||
Functions in the global environment, defined in `bios.lua`. This does not
|
||||
|
@ -1,8 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
-- Defined in bios.lua
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
--[[- Loads the given API into the global environment.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.api.detail;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.api.detail;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.api.detail;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. This API may be redistributed unmodified and in full only.
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
package dan200.computercraft.api.upgrades;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2018 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.client.render.monitor;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.shared.details;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.shared.network.server;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2018 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.shared.util;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
#version 150
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
#version 150
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. This API may be redistributed unmodified and in full only.
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
package dan200.computercraft.api.lua;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. This API may be redistributed unmodified and in full only.
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
package dan200.computercraft.api.lua;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. This API may be redistributed unmodified and in full only.
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
package dan200.computercraft.api.lua;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. This API may be redistributed unmodified and in full only.
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
package dan200.computercraft.api.peripheral;
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
package dan200.computercraft.core.terminal;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
||||
-- SPDX-FileCopyrightText: 2017 Daniel Ratcliffe
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
||||
-- SPDX-FileCopyrightText: 2017 Daniel Ratcliffe
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2017 Daniel Ratcliffe
|
||||
--
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
--- A collection of helper methods for working with input completion, such
|
||||
-- as that require by @{_G.read}.
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
--[[- The @{cc.expect} library provides helper functions for verifying that
|
||||
function arguments are well-formed and of the correct type.
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
--- Read and draw nbt ("Nitrogen Fingers Text") images.
|
||||
--
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
--[[- A pretty printer for rendering data structures in an aesthetically
|
||||
pleasing manner.
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
-- SPDX-FileCopyrightText: 2017 Daniel Ratcliffe
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
--- Various utilities for working with strings and text.
|
||||
--
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local date = os.date("*t")
|
||||
if date.month == 1 and date.day == 1 then
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
if not pocket then
|
||||
printError("Requires a Pocket Computer")
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
if not pocket then
|
||||
printError("Requires a Pocket Computer")
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
--- A very basic test framework for ComputerCraft
|
||||
--
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
describe("The colors library", function()
|
||||
describe("colors.combine", function()
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
describe("The fs library", function()
|
||||
local test_root = "/test-files/fs"
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
describe("The peripheral library", function()
|
||||
local it_modem = peripheral.getType("top") == "modem" and it or pending
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
describe("cc.expect", function()
|
||||
local e = require("cc.expect")
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local helpers = require "test_helpers"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
describe("cc.shell.completion", function()
|
||||
local c = require "cc.shell.completion"
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2020 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
describe("cc.pretty", function()
|
||||
local str = require("cc.strings")
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
local with_window_lines = require "test_helpers".with_window_lines
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
describe("The mkdir program", function()
|
||||
it("creates a directory", function()
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local with_window = require "test_helpers".with_window
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
|
||||
--
|
||||
-- SPDX-License-Identifier: LicenseRef-CCPL
|
||||
-- SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
local capture = require "test_helpers".capture_program
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
|
||||
// SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
|
||||
//
|
||||
// SPDX-License-Identifier: LicenseRef-CCPL
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user