Add avocado to the CI pipeline? #131
Replies: 2 comments
-
I'm not sure if we really want to bake this into the PR pipeline, but having it run periodically or manually would be great indeed. Even though, I'm not sure if this would be really helpful in the long run (xml drawables will not change that often, and are mostly limited to small icons). |
Beta Was this translation helpful? Give feedback.
-
Here is what it would look like with this input: Input<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2023 Adevinta
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1dp"
android:height="1dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#000"
android:fillType="evenOdd"
android:pathData="M1.9 18.1H22V6H1.9v12.1zM22.5 4C23.3 4 24 4.7 24 5.6v12.9c0 0.8-0.7 1.5-1.6 1.5H1.6C0.7 20 0 19.3 0 18.5V5.6C0 4.7 0.7 4 1.6 4h20.9zM4.275 14c-0.5 0-1-0.4-1-1V8.3c0-0.5 0.4-1 1-1h4.6c0.5 0 1 0.4 1 1V13c0 0.5-0.5 1-1 1h-4.6zm7.359-4.976c-0.412 0-0.75-0.337-0.75-0.75s0.338-0.75 0.75-0.75h8.5c0.412 0 0.75 0.337 0.75 0.75s-0.338 0.75-0.75 0.75h-8.5zm-7.609 7.72c-0.413 0-0.75-0.338-0.75-0.75s0.337-0.75 0.75-0.75h5.1c0.412 0 0.75 0.338 0.75 0.75s-0.338 0.75-0.75 0.75h-5.1zm7.609-5.188c-0.412 0-0.75-0.337-0.75-0.75s0.338-0.75 0.75-0.75h8.5c0.412 0 0.75 0.337 0.75 0.75s-0.338 0.75-0.75 0.75h-8.5z" />
</vector> OutputDone in 5 ms!
1.98 Kb - 3.9% = 1.902 Kb <?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2023 Adevinta Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-->
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="1dp" android:height="1dp" android:viewportWidth="24" android:viewportHeight="24">
<path android:fillColor="#000" android:fillType="evenOdd" android:pathData="M1.9 18.1H22V6H1.9v12.1zM22.5 4C23.3 4 24 4.7 24 5.6v12.9c0 0.8-0.7 1.5-1.6 1.5H1.6C0.7 20 0 19.3 0 18.5V5.6C0 4.7 0.7 4 1.6 4h20.9zM4.275 14c-0.5 0-1-0.4-1-1V8.3c0-0.5 0.4-1 1-1h4.6c0.5 0 1 0.4 1 1V13c0 0.5-0.5 1-1 1h-4.6zm7.359-4.976c-0.412 0-0.75-0.337-0.75-0.75s0.338-0.75 0.75-0.75h8.5c0.412 0 0.75 0.337 0.75 0.75s-0.338 0.75-0.75 0.75h-8.5zm-7.609 7.72c-0.413 0-0.75-0.338-0.75-0.75s0.337-0.75 0.75-0.75h5.1c0.412 0 0.75 0.338 0.75 0.75s-0.338 0.75-0.75 0.75h-5.1zm7.609-5.188c-0.412 0-0.75-0.337-0.75-0.75s0.338-0.75 0.75-0.75h8.5c0.412 0 0.75 0.337 0.75 0.75s-0.338 0.75-0.75 0.75h-8.5z"/>
</vector> |
Beta Was this translation helpful? Give feedback.
-
@SimonMarquis Since we're currently migrating our icons here should we also add Avocado ?
Beta Was this translation helpful? Give feedback.
All reactions