diff --git a/CHANGELOG.md b/CHANGELOG.md index fd3fedb..0bf0afa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +# 0.3.1 +2024-07-04 + +Just some minor changes. + +Fixes: + - The `--quiet` flag actually does something now instead of the previous nothing. + - We now change directory before trying to load the config file. Allowing cyan + to actually be run in a subdirectory. + +API Features: + - A new user interaction module has been added `cyan.interaction`. The only + function in it so far is `yes_no_prompt`. + - `ColorString.copy` method added + - `log.Logger.copy` method added + - `util.peek` iterator added + - `util.tab.ensure_scalar_array` added + - `tlcommon.syntax_highlight` function exposed + +Developer Things: + - Github action dependencies have been updated + - A new tree-sitter powered linting script has been added to catch some simple + style differences + - The tl dependency in the rockspec has now been limited to `~> 15` since the + changes in the next branch are breaking and we unsafely wrap them without + typechecking + # 0.3.0 2023-02-01 diff --git a/build/cyan/meta.lua b/build/cyan/meta.lua index e7f76f2..10bd29a 100644 --- a/build/cyan/meta.lua +++ b/build/cyan/meta.lua @@ -2,5 +2,5 @@ return { - version = "0.3.0+dev", + version = "0.3.1", } diff --git a/cyan-0.3.1-1.rockspec b/cyan-0.3.1-1.rockspec new file mode 100644 index 0000000..9ab3cf0 --- /dev/null +++ b/cyan-0.3.1-1.rockspec @@ -0,0 +1,71 @@ +rockspec_format = "3.0" +package = "cyan" +version = "0.3.1-1" +source = { + url = "git://github.com/teal-language/cyan", +} +description = { + summary = "A build system for the Teal language", + detailed = "A build system for the Teal language along with an api for external tooling to work with Teal", + homepage = "https://github.com/teal-language/cyan", + license = "MIT", + issues_url = "https://github.com/teal-language/cyan/issues", +} +dependencies = { + "argparse", + "luafilesystem", + "tl ~> 0.15", + "luasystem >= 3.0.0", +} +build = { + type = "builtin", + modules = { + ["cyan.ansi"] = "build/cyan/ansi.lua", + ["cyan.cli"] = "build/cyan/cli.lua", + ["cyan.colorstring"] = "build/cyan/colorstring.lua", + ["cyan.command"] = "build/cyan/command.lua", + ["cyan.commands.build"] = "build/cyan/commands/build.lua", + ["cyan.commands.check-gen"] = "build/cyan/commands/check-gen.lua", + ["cyan.commands.initialize"] = "build/cyan/commands/initialize.lua", + ["cyan.commands.run"] = "build/cyan/commands/run.lua", + ["cyan.commands.warnings"] = "build/cyan/commands/warnings.lua", + ["cyan.config"] = "build/cyan/config.lua", + ["cyan.fs.init"] = "build/cyan/fs/init.lua", + ["cyan.fs.path"] = "build/cyan/fs/path.lua", + ["cyan.graph"] = "build/cyan/graph.lua", + ["cyan.interaction"] = "build/cyan/interaction.lua", + ["cyan.log"] = "build/cyan/log.lua", + ["cyan.meta"] = "build/cyan/meta.lua", + ["cyan.sandbox"] = "build/cyan/sandbox.lua", + ["cyan.script"] = "build/cyan/script.lua", + ["cyan.tlcommon"] = "build/cyan/tlcommon.lua", + ["cyan.util"] = "build/cyan/util.lua", + }, + install = { + lua = { + ["cyan.ansi"] = "src/cyan/ansi.tl", + ["cyan.cli"] = "src/cyan/cli.tl", + ["cyan.colorstring"] = "src/cyan/colorstring.tl", + ["cyan.command"] = "src/cyan/command.tl", + ["cyan.commands.build"] = "src/cyan/commands/build.tl", + ["cyan.commands.check-gen"] = "src/cyan/commands/check-gen.tl", + ["cyan.commands.initialize"] = "src/cyan/commands/initialize.tl", + ["cyan.commands.run"] = "src/cyan/commands/run.tl", + ["cyan.commands.warnings"] = "src/cyan/commands/warnings.tl", + ["cyan.config"] = "src/cyan/config.tl", + ["cyan.fs.init"] = "src/cyan/fs/init.tl", + ["cyan.fs.path"] = "src/cyan/fs/path.tl", + ["cyan.graph"] = "src/cyan/graph.tl", + ["cyan.interaction"] = "src/cyan/interaction.tl", + ["cyan.log"] = "src/cyan/log.tl", + ["cyan.meta"] = "src/cyan/meta.tl", + ["cyan.sandbox"] = "src/cyan/sandbox.tl", + ["cyan.script"] = "src/cyan/script.tl", + ["cyan.tlcommon"] = "src/cyan/tlcommon.tl", + ["cyan.util"] = "src/cyan/util.tl", + }, + bin = { + "bin/cyan", + } + } +} diff --git a/src/cyan/meta.tl b/src/cyan/meta.tl index 6a90bb2..d0397c6 100644 --- a/src/cyan/meta.tl +++ b/src/cyan/meta.tl @@ -2,5 +2,5 @@ --- Meta information about Cyan itself return { - version = "0.3.0+dev", + version = "0.3.1", }