You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing a very specific problem in my gitlab pipeline. In certian conditions the pipeline remains hanging waiting for patrol despite the fact that the tests are green and done. I want to start placing print statements in several places. Yet I'm not sure what's the build procedure for the patrol cli. Any advice?
Actually, I'm wondering. Is it possible to run patrl_cli main.dart like a regular dart file in develop mode? Would be nice to be able to hot reload or smth like this. Doing a build for each print would be slow. Also it would be nice to have the ability to defined breakpoints. I've studied a bit the code and I'm starting to make sense of the commands. Now I'd need to run the code and see how it behaves.
My hunch is that I should try dart compile exe main.dart -o patrol in patrol/packages/patrol_cli/bin. Hoever I get a 6.6 mb file while the distributed version is only 638kb. Smth is not matching. I tried replacing the existing bin with the built bin. Apparently it responds to patrol --version as expected. Maybe it works. I'll try more.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm facing a very specific problem in my gitlab pipeline. In certian conditions the pipeline remains hanging waiting for patrol despite the fact that the tests are green and done. I want to start placing print statements in several places. Yet I'm not sure what's the build procedure for the patrol cli. Any advice?
Actually, I'm wondering. Is it possible to run patrl_cli main.dart like a regular dart file in develop mode? Would be nice to be able to hot reload or smth like this. Doing a build for each print would be slow. Also it would be nice to have the ability to defined breakpoints. I've studied a bit the code and I'm starting to make sense of the commands. Now I'd need to run the code and see how it behaves.
My hunch is that I should try
dart compile exe main.dart -o patrol
inpatrol/packages/patrol_cli/bin
. Hoever I get a 6.6 mb file while the distributed version is only 638kb. Smth is not matching. I tried replacing the existing bin with the built bin. Apparently it responds to patrol --version as expected. Maybe it works. I'll try more.Beta Was this translation helpful? Give feedback.
All reactions