skarfacegc / gue Goto Github PK
View Code? Open in Web Editor NEWGue - a shell command oriented task runner for node
License: MIT License
Gue - a shell command oriented task runner for node
License: MIT License
Need to figure out a clean way for the API user to control how shell outputs to stdout.
Similar to watch, but records file checksums between runs to identify what's changed since the last run.
It Should
Update the readme to reflect new stuff
Changes to log
New methods in Util
Always sets FORCE_COLOR regardless of any other settings. Probably shouldn't do that.
When running nyc mocha there's no output on a failing test
There's no error if a missing task is requested.
look at globby for glob handling
The integration tests currently rely on an external git repo. This should change to just using some sample alternate guefiles
The idea is basically this, given a set of files (client files, server files, etc) setup a method to say
'If a file in the client file set changes, run these tasks'
Mainly for use under watch, but could possibly replace the setOptions foo with something a little more interesting
Exclusive tasks behavior:
AC:
Beeper doesn't work all the time. FIgure out why and squash it!
Quick grep
lib/GueTask.js:const isArray = require('lodash.isarray');
lib/GueTask.js: if (typeof action === 'function' && !isArray(dependencies)) {
lib/GueTask.js: if (action === undefined && !isArray(dependencies)) {
lib/GueTask.js: if (isArray(this.dependencies)) {
lib/GueTasks.js: if (!Array.isArray(tasks)) {
lib/Util.js:const isArray = require('lodash.isarray');
lib/Util.js: if (names.length > 0 && Array.isArray(names)) {
lib/Util.js: if (isArray(value)) {
lib/fileSet.js:const isArray = require('lodash.isarray');
lib/fileSet.js: if (isArray(tasks)) {
lib/fileSet.js: if (!isArray(this.globMap[glob])) {
lib/fileSet.js: if (isArray(fileArg)) {
Add a watch API method to execute tasks when files change.
smartWatch is a more descriptive name
add prettier to eslint for more consistent code formatting
Current ships documentation as part of the npm, souldn't do that.
Make sure they all follow the same format
This should simplify the integration tests
Standardize logging a bit. Right now the log method just spits its arg to stdout.
The log method(s) should timestamp, print task, and print message applying colors appropriately.
May need to create logwarn/logerr/logsuccess methods
gue.watch should allow loading of file lists from the setOption system
When docs build the API docs should go into a version directory
Add a method that takes a json slug and turns it into normal --foo=bar
style arguments.
It's redundant
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.