diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-01-24 19:11:17 -0500 | 
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-01-26 08:29:58 -0500 | 
| commit | 5010380c619015fcd04e891ae49548bb6e8842dc (patch) | |
| tree | 7935ac0ab8caadf24e5bbea24acbdd0acfc827ea /makefile | |
| parent | nix & build housekeeping, alternative D compilers (diff) | |
nix & build housekeeping
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 16 | 
1 files changed, 16 insertions, 0 deletions
| @@ -93,6 +93,22 @@ deps                    := "`ls -gx './src/ext_depends'`"  dirs_loc                := "`ls -gx '.'`"  #dirs                    := "`ls -gx {{gwd}}`" +nix-devshell: +	echo -ne "\n- nix flake update && nix flake check --show-trace && nix flake show && nix develop .#devShell\n\n- nix build .#default --print-build-logs\n- nix build .#spine-dmd --print-build-logs\n- nix build .#spine-ldc --print-build-logs\n- nix build .#spine-gdc --print-build-logs\n\n"; \ +	nix flake update && nix flake check --show-trace && nix flake show && nix develop .#devShell + +nix-build-default: +	nix build .#default --print-build-logs + +nix-build-dmd: +	nix build .#spine-dmd --print-build-logs + +nix-build-ldc: +	nix build .#spine-ldc --print-build-logs + +nix-build-gdc: +	nix build .#spine-gdc --print-build-logs +  buildPhase:  	HOME=$${PWD}; \  	for DC_ in dmd ldmd2 gdmd; do \ | 
