Comments (2)
#1078
There is an issue already for „cache-file“ via config, but to implement it correctly it requires some refactoring, see the open draft PR.
Deptrac will not create the target directory, that’s correct. I would add a before_script section in the CI and do „mkdir -p path“.
You could also open a PR and implement it, the baseline directory will be created for example.
from deptrac.
Thx for the fast reponse.
I would add a before_script section in the CI and do „mkdir -p path“.
That works only for the CI, developers running it locally will still get the error, so we would require to configure a before_script
then in the deptrac.yaml
else devs would run into problems. Think it would be easier then todo mkdir in PHP if the dir does not yet exists.
You could also open a PR and implement it, the baseline directory will be created for example.
If you are fine with it I would add there similar logic as for the baseline:
#1078
There is an issue already for „cache-file“ via config, but to implement it correctly it requires some refactoring, see the open draft PR.
Thx for linking the issue 👍
from deptrac.
Related Issues (20)
- PHAR: Compiled phar cannot find services HOT 3
- PHAR: ComposerFilesParser.php searches for composer.(json|lock) inside the phar HOT 4
- Composer collector exception when package does not exist HOT 1
- deptrec help analyse throws: InvalidLayerDefinitionException
- [debug:layer] display token types
- PHAR: add "KevinGH\\Box\\Compactor\\Php" to reduce the size
- Update PHPUnit to version 10
- Update Psalm to version 5
- Add ".gitattributes" and exclude unnecessary files from packaged release HOT 1
- Next Release: Reduce the distribution to just one method for the next release HOT 11
- Collector for excluding the layer in which it is specified. HOT 3
- Ambiguous of @internal HOT 1
- Error message when using anonymous readonly class in php 8.3 HOT 3
- Nullable IntersectionType error HOT 2
- PHP 8.3 typed constants cause syntax error HOT 5
- Generating image: Argument ($hiddenLayers) must be of type array null given HOT 2
- New Release HOT 5
- Deptrac does not recognize type aliases HOT 3
- Option to ignore baseline in graphviz output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deptrac.