diff --git a/scripts/build-index.js b/scripts/build-index.js index 360b35c19..dc8b5d181 100644 --- a/scripts/build-index.js +++ b/scripts/build-index.js @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + 'use strict'; const glob = require('glob'); diff --git a/scripts/build.sh b/scripts/build.sh index 043e45d1c..04936818f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # This script is executed by GitHub Actions for every successful push (on any branch, PR or not). set -ex diff --git a/scripts/check-pr.sh b/scripts/check-pr.sh index f5ff39499..19bb3a25a 100755 --- a/scripts/check-pr.sh +++ b/scripts/check-pr.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # This script is executed by GitHub Actions for every pull request opened. # It currently accomplishes the following objectives (for English pages only): diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 7312bbb5a..ff3876ca9 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # This script is executed by GitHub Actions when a PR is merged (i.e. in the `deploy` step). set -ex diff --git a/scripts/pdf/basic.css b/scripts/pdf/basic.css index 76bc255b5..a81c5efce 100644 --- a/scripts/pdf/basic.css +++ b/scripts/pdf/basic.css @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + @font-face { font-family: "PT Serif"; src: url("pt-serif-web-regular.ttf") format("truetype"); diff --git a/scripts/pdf/render.py b/scripts/pdf/render.py index 89a907769..102dacaeb 100644 --- a/scripts/pdf/render.py +++ b/scripts/pdf/render.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: MIT """ A Python script to generate a single PDF document with all the `tldr` pages. It works by generating diff --git a/scripts/pdf/solarized-dark.css b/scripts/pdf/solarized-dark.css index 543b51097..a4aeb469d 100644 --- a/scripts/pdf/solarized-dark.css +++ b/scripts/pdf/solarized-dark.css @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + code { color: #b58900; } diff --git a/scripts/pdf/solarized-light.css b/scripts/pdf/solarized-light.css index eb2ff4fcb..423f8df57 100644 --- a/scripts/pdf/solarized-light.css +++ b/scripts/pdf/solarized-light.css @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + code { color: #dc322f } diff --git a/scripts/send-to-bot.py b/scripts/send-to-bot.py index ad85eff6f..785f0dccc 100644 --- a/scripts/send-to-bot.py +++ b/scripts/send-to-bot.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: MIT import os import sys diff --git a/scripts/set-more-info-link.py b/scripts/set-more-info-link.py index 6ccffeef3..5ed9238cc 100644 --- a/scripts/set-more-info-link.py +++ b/scripts/set-more-info-link.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: MIT + import argparse import os import re diff --git a/scripts/test.sh b/scripts/test.sh index ce750e117..84958f20c 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT # This script is executed by GitHub Actions for every successful push (on any branch, PR or not). # It runs some basic tests on pages. If the build is also a PR, additional