Skip to content

Commit

Permalink
prepare merge on main
Browse files Browse the repository at this point in the history
  • Loading branch information
MadMcCrow committed Jul 6, 2024
1 parent 59c1434 commit dd328c5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
17 changes: 12 additions & 5 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## main 06/07/2024
- reordered packages to fix dependencies
- respect nix-way to have libraries in flakes
- updated haxe and other packages
- added a tool to find the latest versions of packages

## dev 10/11/2023
- `mkHeapsGame` now require your own `compile.hxml`
- WIP formatter, needs the actual program, not the library
- you can generate docs derivation for Haxe derivations

## main
- build and run Heaps games on linux
- build wih latest Haxe, Heaps, etc.
Expand All @@ -6,8 +17,4 @@
- package haxelibs
- Check flake with github action for PRs
- mkHeapsGame support buildInputs
- Added a simple default haxe shell
## dev 10/11/2023
- `mkHeapsGame` now require your own `compile.hxml`
- WIP formatter, needs the actual program, not the library
- you can generate docs derivation for Haxe derivations
- Added a simple default haxe shell
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Haxix

A flake to build and run games made with [heaps.io](https://heaps.io/) and possibly other haxe game engines in the future.
A flake to build and run games made with [heaps.io](https://heaps.io/) and possibly other haxe game engines (raylib, armory, ...) in the future.

## Usage

Expand Down
5 changes: 2 additions & 3 deletions docs/TODO.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# TODO :
- [ ] haxefmt formatter
- [ ] Github Action
- [ ] Build Cachix cache
- [ ] Clean, remove `_latest` from package names
- [ ] Other Haxe game engines
- [ ] Godot-Haxe
- [ ] OpenFL
- [ ] OpenFL
- [ ] Raylib
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
packages = pkgs.callPackage ./pkgs { inherit inputs; };
demos = pkgs.callPackage ./demo ({ inherit inputs; } // packages);
in {
legacyPackages."${system}" = packages // demos;
legacyPackages."${system}" = packages;
devShell."${system}" = pkgs.callPackage ./pkgs/shell.nix packages;
# checks."${system}" = demos;
# TODO : checks and dev shell
# TODO :
#checks."${system}" = demos;
};
in {
# template for heaps projects :
Expand Down
4 changes: 2 additions & 2 deletions template/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
# default system-agnostic flake implementation :
flake = system:
let
haxix-lib = haxix.lib."${system}";
haxePkgs = haxix.legacyPackages."${system}";
# heaps game example :
my-project = haxix-lib.mkHeapsGame {
my-project = haxePkgs.heaps.buildHeapsGame {
src = self;
name = "my-project";
version = "0.0.1-alpha";
Expand Down

0 comments on commit dd328c5

Please sign in to comment.