Add build-configs.yaml
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
b33edd649f
commit
79fcd69ab6
8 changed files with 81 additions and 2 deletions
1
reading-college/demo/sculpin/.envrc
Normal file
1
reading-college/demo/sculpin/.envrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
12
reading-college/demo/sculpin/.gitignore
vendored
12
reading-college/demo/sculpin/.gitignore
vendored
|
@ -1,2 +1,10 @@
|
||||||
output_*
|
/output_*/
|
||||||
vendor
|
|
||||||
|
/.phpunit.cache
|
||||||
|
/.phpunit.result.cache
|
||||||
|
|
||||||
|
# Nix
|
||||||
|
/.direnv/
|
||||||
|
|
||||||
|
# Composer
|
||||||
|
/vendor/
|
||||||
|
|
7
reading-college/demo/sculpin/build
Executable file
7
reading-college/demo/sculpin/build
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
export PATH="$PATH:./vendor/bin"
|
||||||
|
|
||||||
|
sculpin generate "$@"
|
3
reading-college/demo/sculpin/build-configs.yaml
Normal file
3
reading-college/demo/sculpin/build-configs.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
name: reading-college
|
||||||
|
template: php-sculpin
|
5
reading-college/demo/sculpin/clean
Executable file
5
reading-college/demo/sculpin/clean
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
rm -rfv output_* vendor
|
27
reading-college/demo/sculpin/flake.lock
generated
Normal file
27
reading-college/demo/sculpin/flake.lock
generated
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1759381078,
|
||||||
|
"narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
21
reading-college/demo/sculpin/flake.nix
Normal file
21
reading-college/demo/sculpin/flake.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
outputs = inputs:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = import inputs.nixpkgs { inherit system; };
|
||||||
|
in
|
||||||
|
{
|
||||||
|
devShells.${system}.default =
|
||||||
|
with pkgs;
|
||||||
|
mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
nodePackages.browser-sync
|
||||||
|
|
||||||
|
php
|
||||||
|
phpPackages.composer
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
7
reading-college/demo/sculpin/watch
Executable file
7
reading-college/demo/sculpin/watch
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
export PATH="$PATH:./vendor/bin"
|
||||||
|
|
||||||
|
sculpin generate --server --watch "$@"
|
Loading…
Add table
Add a link
Reference in a new issue