Skip to content

Commit

Permalink
v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
euclidianAce committed Jul 4, 2024
1 parent 6f57db6 commit 98c54fc
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 3 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion build/cyan/meta.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 71 additions & 0 deletions cyan-0.3.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -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 ~> 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",
}
}
}
2 changes: 1 addition & 1 deletion scripts/gen_rockspec.tl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description = {
dependencies = {
"argparse",
"luafilesystem",
"tl",
"tl ~> 15",
"luasystem >= 3.0.0",
}
build = {
Expand Down
2 changes: 1 addition & 1 deletion src/cyan/meta.tl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
--- Meta information about Cyan itself

return {
version = "0.3.0+dev",
version = "0.3.1",
}

0 comments on commit 98c54fc

Please sign in to comment.