Skip to content

Releases: DvvCz/cpkg

v0.12.1

23 Sep 00:54
Compare
Choose a tag to compare
Fix repl with gcc + QOL

The repl now hides anything printed in previously entered code. So you can write several printfs without them stacking together and making the repl unusable later on.

v0.12.0

03 Jun 04:50
Compare
Choose a tag to compare
Build scripts, stable

* Fix tests failing to compile properly (used take_while instead of filter :p)

* Added support for build scripts, which will prompt the user for permission before running. This is a simple `build.c` file at the top level of your project. Currently the only "command" it has is to set the `src` directory, for the case of preprocessing.

* Removed redundant use of const blocks, since const assignments already allowed constant blocks expressions. Also removed the blocks entirely and just opted for more generic errors.

v0.10.0

16 May 10:05
Compare
Choose a tag to compare

Full Changelog: v0.9.1...v0.10.0

v0.9.1

21 Apr 03:42
Compare
Choose a tag to compare
Bump version, improve readme

v0.9.0

16 Apr 19:55
Compare
Choose a tag to compare
Add support for scripts

This allows support for running scripts configured in `ckg.toml` using `cpkg run`.

This is analogous to `bun run` or `npm run`.

Dependencies are now also tagged as optional, so you can omit them from your `cpkg.toml` without cpkg erroring.

v0.8.0

14 Apr 22:02
Compare
Choose a tag to compare
Update README.md

v0.7.0

14 Apr 05:37
Compare
Choose a tag to compare
Allow configuring binary output, `generate` command

Resolves #7 by adding a `generate` command which generates a basic makefile to accomplish what `cpkg build` does.

This also comes with a new configuration, being [package.bin], that allows you to change where the package will be output. By default, it is now `target/<package.name>`, while it previously was `target/out`.

v0.6.5

07 Apr 08:31
Compare
Choose a tag to compare
Tweaks, few features

* Compiler backend support taking include directories and now include relevant directories by default.

* Tests now have a `--print` flag which pipes output from the running test into stdout, for debugging purposes

* Path checking is a little more resilient now, makes sure that you don't provide a directory where a file was expected.

v0.6.3

29 Mar 08:05
Compare
Choose a tag to compare
Bump version

v0.6.0

29 Mar 02:38
Compare
Choose a tag to compare
Add format subcommand

Using `clang-format`.

Needs support for specifying settings, but that should come in its own PR.