Skip to content

xcodebuild/run-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#run-in

Description

Run your command in all directories

Why this

CD to every directory and type npm run watch is really tooooooo boring. I even have to keep many tabs of them and jump here and there to watch their logs.

pm2 start maybe another good idea in this case. But why not make a script to do this?

Install

To install run-in from npm, run:

$ npm install -g run-in

Usage

To run npm install in all your prefix-xxx directory, just run

$ run-in -g "prefix-*" -c "npm install"

to watching all your projects in this directory (npm run watch)

$ run-in -g "*" -c "npm run watch"

run-in use glob to match directories, see details here.

Screenshot

image

License

Copyright (c) 2017 codefalling

MIT License

About

Run your command in all directories

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors