Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

Do not include copyright comments in templates

+6 -25
-5
.github/ISSUE_TEMPLATE/bug_report.md
··· 1 - <!-- 2 - SPDX-License-Identifier: Apache-2.0 3 - SPDX-FileCopyrightText: 2024 The Gleam contributors 4 - --> 5 - 6 1 --- 7 2 name: Bug report 8 3 about: Something isn't working
-5
.github/ISSUE_TEMPLATE/feature_request.md
··· 1 - <!-- 2 - SPDX-License-Identifier: Apache-2.0 3 - SPDX-FileCopyrightText: 2024 The Gleam contributors 4 - --> 5 - 6 1 --- 7 2 name: Feature request 8 3 about: Suggest an idea for this project
+6
compiler-core/src/tests.rs
··· 122 122 return None; 123 123 } 124 124 125 + // GitHub templates 126 + "md" if path.starts_with("../.github/ISSUE_TEMPLATE") => return None, 127 + 125 128 // Static assets 126 129 "gz" => return None, 127 130 "tar" => return None, ··· 135 138 // Template files to be added to user projects 136 139 "ps1" if file_name == "erlang-shipment-entrypoint.ps1" => return None, 137 140 "sh" if file_name == "erlang-shipment-entrypoint.sh" => return None, 141 + "mjs" if file_name == "prelude.mjs" || file_name == "echo.mjs" => return None, 142 + "erl" if file_name == "gleam@@main.erl" || file_name == "echo.erl" => return None, 143 + "mts" if file_name == "prelude.d.mts" => return None, 138 144 139 145 // Generated files 140 146 "toml" if file_name == "manifest.toml" => return None,
-3
compiler-core/templates/echo.erl
··· 1 - %% SPDX-License-Identifier: Apache-2.0 2 - %% SPDX-FileCopyrightText: 2024 The Gleam contributors 3 - 4 1 -define(is_lowercase_char(X), 5 2 (X > 96 andalso X < 123)). 6 3
-3
compiler-core/templates/echo.mjs
··· 1 - // SPDX-License-Identifier: Apache-2.0 2 - // SPDX-FileCopyrightText: 2024 The Gleam contributors 3 - 4 1 function echo(value, message, file, line) { 5 2 const grey = "\u001b[90m"; 6 3 const reset_color = "\u001b[39m";
-3
compiler-core/templates/gleam@@main.erl
··· 1 - %% SPDX-License-Identifier: Apache-2.0 2 - %% SPDX-FileCopyrightText: 2021 The Gleam contributors 3 - 4 1 -module('{{ application }}@@main'). 5 2 -export([run/1, main/1]). 6 3
-3
compiler-core/templates/prelude.d.mts
··· 1 - // SPDX-License-Identifier: Apache-2.0 2 - // SPDX-FileCopyrightText: 2021 The Gleam contributors 3 - 4 1 /** @deprecated */ 5 2 export class CustomType { 6 3 /** @deprecated */
-3
compiler-core/templates/prelude.mjs
··· 1 - // SPDX-License-Identifier: Apache-2.0 2 - // SPDX-FileCopyrightText: 2021 The Gleam contributors 3 - 4 1 export class CustomType { 5 2 withFields(fields) { 6 3 let properties = Object.keys(this).map((label) =>