Commit graph

347 commits

Author SHA1 Message Date
Oliver Davies ea43e67da8 Don't generate files if the --dry-run option is set
* Add the --dry-run option.
* Add a warning if --dry-run is used saying no files have been
  generated.
2024-03-01 20:32:38 +00:00
Oliver Davies 85c370c438 Add phpcs configuration with PSR-12 standard 2024-03-01 20:32:38 +00:00
Oliver Davies e64b340af2 Allow extra fields
Since removing `useNewDatabaseCredentials`, projects with it in its
build.yaml file were failing as it was an additional value.

Allowing extra fields prevents the project from erroring.
2024-03-01 20:32:38 +00:00
Oliver Davies 6d7caad37a Format with alejandra 2024-03-01 07:15:48 +00:00
Oliver Davies b60cd7ae1b Revert "Make the PHP test runner conifigurable"
This reverts commit 5f62b02d14.
2024-02-19 10:52:09 +00:00
Oliver Davies bc9b18268f Fix generated .gitignore files in snapshots 2024-02-18 23:13:46 +00:00
Oliver Davies 98650ac11c Sort .gitignore paths 2024-02-18 23:13:46 +00:00
Oliver Davies 3d0a8215f9 Remove feature flag for different database credentials 2024-02-18 23:13:46 +00:00
Oliver Davies f602b6e1e6 Move Drupal templates into the PHP directory 2024-02-18 23:13:46 +00:00
Oliver Davies 30942b2d95 git: allow for creating inclusive gitignore files 2024-02-18 23:13:46 +00:00
Oliver Davies e3362270f4 Add missing managed text 2024-02-18 23:13:46 +00:00
Oliver Davies 226d6ad990 Allow for arguments to generate 2024-02-18 23:13:46 +00:00
Oliver Davies 5f62b02d14 Make the PHP test runner conifigurable
PHPUnit, Pest or Paratest.
2024-02-18 16:35:37 +00:00
Oliver Davies e1dc284a61 Update build configuration files 2024-01-31 09:17:35 +00:00
Oliver Davies 3adee3f531 Use PHP 8.2, fix CI tests 2024-01-28 21:51:02 +00:00
Oliver Davies 95159abc94 Fix web server type checks 2024-01-27 21:00:04 +00:00
Oliver Davies 09da2bc403 Create .tmux files
If `experimental.createTmuxStartupFile` is set in `build.yaml`.
2024-01-26 15:00:24 +00:00
Oliver Davies 8818baed58 Manage Build Configs with Build Configs 2024-01-26 15:00:24 +00:00
Oliver Davies ed36ac2e28 Create flake.nix files for Symfony projects 2024-01-26 15:00:24 +00:00
Oliver Davies f98a69e21f Initial Sculpin support
* Add Sculpin as a project type
* Declare initial files to generate
* Add flake.nix.twig
* Add .gitignore.twig
* Add run.twig
2024-01-26 14:59:54 +00:00
Oliver Davies 7bab7e91f4 Remove Astro 2024-01-21 22:02:59 +00:00
Oliver Davies 98a337bdcd Update snapshots 2023-12-18 21:04:45 +00:00
Oliver Davies 88af924ee4 Don't exit if the .env file is skipped 2023-12-18 20:58:31 +00:00
Oliver Davies 932c8f4bc7 Add install task for Drupal projects
Add an `install` task to Drupal `run` files to install Drupal with
Drush.
2023-12-16 17:04:29 +00:00
Oliver Davies c7fddd8ca4 Revert "Add snapshot tests to PHPUnit"
This reverts commit fd9a18dd92.
2023-12-16 00:43:57 +00:00
Oliver Davies 892f602159 Revert "Remove bash snapshot tests"
This reverts commit 9a5ec76d7c.
2023-12-16 00:43:35 +00:00
Oliver Davies 31ef9b2968 Add snapshot tests for Fractal 2023-12-16 00:36:03 +00:00
Oliver Davies 2186c29246 Use --testdox when running tests in CI 2023-12-16 00:20:25 +00:00
Oliver Davies 9a5ec76d7c Remove bash snapshot tests 2023-12-16 00:18:59 +00:00
Oliver Davies fd9a18dd92 Add snapshot tests to PHPUnit 2023-12-16 00:15:45 +00:00
Oliver Davies fa99fc006f Fix names 2023-12-16 00:05:31 +00:00
Oliver Davies 69bf51b6bc Run PHPStan on tests 2023-12-16 00:04:36 +00:00
Oliver Davies ca8ffc5685 Add more snapshot tests 2023-12-15 15:30:03 +00:00
Oliver Davies 680b72bb64 Add snapshot tests for a basic Drupal project 2023-12-15 15:18:55 +00:00
Oliver Davies 58e454b2c2 Fix TTY in run files for Drupal projects 2023-12-15 13:28:55 +00:00
Oliver Davies 0d622d3121 Add .tmux script
[ci skip]
2023-12-15 12:11:49 +00:00
Oliver Davies de990f3836 Rename DTO class and variable names 2023-12-15 12:09:50 +00:00
Oliver Davies 537a715d74 Fix deprecations since upgrading to Symfony 6 2023-12-09 14:36:04 +00:00
Oliver Davies 8344f16b2e Run the command using Nix 2023-11-29 21:34:19 +00:00
Oliver Davies 00045aaab2 Run the command using Nix 2023-11-29 21:31:37 +00:00
Oliver Davies 2c8f41b784 Unable to create the "cache" directory 2023-11-29 21:27:02 +00:00
Oliver Davies b3cd0d562a Update Symfony versions 2023-11-29 20:49:57 +00:00
Oliver Davies 6ba0390978 composer update 2023-11-29 20:09:05 +00:00
Oliver Davies b1778cad27 Unable to create the "cache" directory 2023-11-29 19:56:04 +00:00
Oliver Davies 161d2b6e84 Force remove, just in case it doesn't exist 2023-11-29 19:38:37 +00:00
Oliver Davies c44033ff45 Remove the var directory from the phar
...configuration
2023-11-29 19:34:58 +00:00
Oliver Davies 9def239aca Add the dist directory so it's present 2023-11-29 19:31:27 +00:00
Oliver Davies 5fd8f2d816 Less output when cleaning up 2023-11-29 19:27:06 +00:00
Oliver Davies 5a129be1ad Split tasks 2023-11-29 19:23:54 +00:00
Oliver Davies c9c9a6d7d6 Build the binary once the tests pass 2023-11-29 19:20:11 +00:00