Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DanSketic/fm-tasca

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📑 FM-Tasca

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

Install with npm:

npm i fm-tasca -D

Or with yarn:

yarn add fm-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:

fm-tasca ./tasks.js

Custom tasks:

fm-tasca ./tasks.js --tasks my_task another_task

Passing info to the task file as global variables:

fm-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

Languages

  • JavaScript 99.8%
  • HTML 0.2%