jolicode / castor

🦫 DX oriented task runner and command launcher built with PHP.
https://castor.jolicode.com
MIT License
395 stars 20 forks source link

Unable to repack application with Castor 0.18.0 #512

Closed arnolem closed 1 week ago

arnolem commented 2 weeks ago

After updating the application from Castor 0.17.1 to 0.18.0, it is no longer possible to build the application.

vendor/bin/castor repack
Box version 4.4.0@b7e493d 2023-10-11 20:47:53 UTC

 // Loading the configuration file ".box.json".                                 
 [ERROR] The configuration file is invalid.                                     

In Assert.php line 1012:
  "directories" must contain a list of existing directories. Could not find "  
  /projets/pere-castor/.castor". 

In Process.php line 270:                                                                                          
The command "'/usr/sbin/box' 'compile' '--config=.box.json'" failed.
arnolem commented 2 weeks ago

The issue is resolved if I create the .castor folder, but is it normal that it is required since version 0.18.0?

lyrixx commented 1 week ago

Fixed by https://github.com/jolicode/castor/pull/513