Skip to content

marc2332/tasca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📑 Tasca

Tasca is a easy-to-use task runner, useful to automate the process of compiling your app.

Install with npm:

npm i tasca -D

Or with yarn:

yarn add tasca -D

Example tasks file:

function Task1(cb){
	cb()
}

function Task2(cb){
	cb()
}

function Task3(cb){
	cb()
}

function MultipleTasks(){
	// This is a tree of tasks (it allows you to group different tasks)
	return [
		Task2,
		Task3
	]
}

exports.default = [
	Task1,
	MultipleTasks
]

Usage

Default task:

tasca ./tasks.js

Custom tasks:

tasca ./tasks.js --tasks my_task another_task

Passing info to the task file as global variables:

tasca ./tasks.js --info something=Whatever

🤓 Contributing

This is a monorepo, meaning that there are different packages in the same repository, all under ./packages

Installing dependencies:

yarn

Running tests:

yarn test --tasks default watch

About

A tasks runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published