lastcallmedia / gulp-drupal-tasks Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Should run PHPUnit tests. The config file and the suite should be configurable, and there should be a way to get junit output.
We should handle this just like backstop. Pull in a docker container for this sort of thing. It would be best if it's the same container we use for backstop, so we'll probably have to roll our own, or it would take forever to download 2 images for a CI build.
Maybe we should do this through a CLI flag instead of in the config file? Either way, it exists in the scaffold, but it's not configurable here.
As a user, I should be able to start a long running watch task for syntax checks.
Failures during compilation of JS will cause the build:watch or build:watch:js tasks to exit silently. The watch should continue even if compilation fails. It should show a message to indicate that the compilation has failed though.
Additionally, build:js and build should continue to output a non-zero exit code if js compilation has failed.
ESlint has a pretty awesome --fix mode that's will clean up your standards violations for you. Other static code linters offer similar tools, and it would be a nice shortcut to have this available as a one stop shop on the check* tasks. So you'd just run gulp check --fix
and it would auto-fix everything it could. I think step 1 is adding this flag and wiring it up to ESLint. Then we can see what kind of crazy hoops we'll have to jump through for PHPCS.
PHPCS is slow, hard to configure, prone to failure, and generally not very nice to use.
Let's switch to something else. There's php-cs-fixer, and probably others out there.
Eslint can output junit. Check the circle.yml for how we're doing it here.
Behat fails if there's a behat.yml and you don't configure it.
Need to be able to change the PHPCS standard with configuration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.