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

chore: license new scripts under AGPL-3.0-only #3169

Merged
merged 4 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Cataclysm is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unpo

Documentation site (doc/*, excluding doc/src/content/docs/*) is licensed under the AGPL 3.0-only license, see doc/LICENSE for text of license.

Scripts (scripts/*) are licensed under the AGPL 3.0-only license, see doc/LICENSE for text of license.

GNU Unifont (data/font/unifont.ttf) is licensed under GNU General Public License v2+ with the GNU font embedding exception. Visit http://unifoundry.com/LICENSE.txt for details.

Terminus Font (data/font/terminus.ttf) is licensed under the SIL Open Font License (see LICENSE-OFL-Terminus-Font.txt).
Expand Down
12 changes: 5 additions & 7 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"tasks": {
"tools": "deno run --watch -A",

"doc": "deno task doc:cli & deno task doc:lua && deno fmt",
"doc:cli": "deno run -A ./tools/gen_cli_docs.ts",
"doc:cli": "deno run --allow-run=./cataclysm-tiles --allow-write=doc/src/content/docs ./scripts/gen_cli_docs.ts",
"doc:lua": "./cataclysm-tiles --lua-doc && cp config/lua_doc.md doc/src/content/docs/en/mod/lua/reference/lua.md"
},
"test": { "include": ["./tools"] },
"lint": { "include": ["./tools"] },
"test": { "include": ["scripts"] },
"lint": { "include": ["scripts"] },
"fmt": {
"exclude": ["./doc/dist", "./doc/.astro"],
"include": ["./tools", "./doc", "*.md"],
"exclude": ["doc/dist", "doc/.astro"],
"include": ["scripts", "doc", "*.md"],
"semiColons": false,
"lineWidth": 100
}
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions tools/gen_cli_docs.ts → scripts/gen_cli_docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ ${desc}.`

export const sectionToMarkdown = ({ title, flags }: Section): string => /*md*/ `
## ${title}

${flags.map(flagToMarkdown).join("\n")}`

const toMarkdown = (text: string): string => {
Expand All @@ -56,7 +55,6 @@ The game executable can not only run your favorite roguelike,
but also provides a number of command line options to help modders and developers.

---

${sections}
`
}
Expand Down