Socket
Socket
Sign inDemoInstall

bild

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bild

Yet another build/task runner. This one is based on YAML. I like the declarative nature of grunt, but it seems a bit heavyweight to install, and the way things work is more complicated than I need. This is simpler and needs less boilerplate.


Version published
Weekly downloads
7
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Bild

Yet another build/task runner. This one is based on YAML. I like the declarative nature of grunt, but it seems a bit heavyweight to install, and the way things work is more complicated than I need. This is simpler and needs less boilerplate.

Installation

npm install -g bild (may require sudo).

Usage

Include bild plus whatever plugins (for example bild-coffee and bild-uglify) in the package.json under devDependencies. Run npm install (may require sudo).

Create a file called bild.yaml in the project directory formatted as a list like this:

- coffee:
    files: src/*.coffee
    out: lib
- uglify: 
    files: public/js/*.js
    out: public/js/min.js

Run the command bild to compile some files to coffeescript and minify some other files.

Plugins

Plugins are npm modules named bild-whatever where "whatever" is the word you use in the YAML file. So when bild sees 'coffee' as an item in the list in the YAML, it will require bild-coffee.

Each plugin exports a 'process' function. See, for example, the bild-coffee code.

Running individual tasks

You can give a specific plugin to run on the command line. So with the above YAML, running bild coffee will only execute the coffee task.

FAQs

Last updated on 07 Jan 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc