Git Product home page Git Product logo

atalanta's People

Contributors

kevgo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

atalanta's Issues

dry-run option

-d prints the command that would be run, instead of running it

prevent duplicate task names

Problem

  • a workspace contains two stacks
  • both stacks define a task with the same name
  • Atalanta doesn't know which task to run when running a <task name>
Makefile:

foo

Node (yarn):

foo

Solution

Prefix duplicate task names with a letter that indicates their stack.

Makefile:

mfoo

Node (yarn):

nfoo

Comments

  • each stack defines a number of letters that correspond to it
  • find unique letters for each colliding stack

setup command

package.json + yarn.lock file ==> yarn install
package.json + package-lock.json ==> npm install

print npm scripts line by line

Instead of this output:

lint: prettier -l . && eslint . --ext .ts --ignore-path ../../.eslintignore && depcheck --config=../../.depcheckrc

print this:

lint: prettier -l . 
      eslint . --ext .ts --ignore-path ../../.eslintignore 
      depcheck --config=../../.depcheckrc

run if given task name is perfect match

Some codebases have these tasks:

  • format
  • format:match

Running a format should run the "format" tasks instead of complaining that there are two fuzzy matches.

This requires #12

default tasks

if there are no tasks at all defined, provide a set of standard tasks:

  • s: setup
  • t: run all tests that you can think of ("cargo test", "go test ./...", etc)
  • l: run all linters that you can find (prettier, dfmt)
  • u: run all small-scale tests you can find (Mocha)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.