common-makefiles

0.3.0 • Public • Published

common-makefiles v0.3.0

Build Status

Table of Content

General Information
Installation
Examples
Parameters

General Information

A set of common makefiles used at node projects.

back to table of content

Installation

npm install common-makefiles

If you want to add common-makefiles to your package.json, paste the following oneliner:

"common-makefiles": "0.3.0"

back to table of content

Examples

If you want to include node.js tasks to your project Makefile getting started with the following snippet:

include node_modules/common-makefiles/node.make
 
# Your targets here:
foo:
  @echo "foo"
 
.PHONY: foo

back to table of content

Parameters

Some Makefile need some parameters to run the task. This parameters comes with default settings and can be found at the parameters files. The mocha parameters file looks like this:

# mocha parameter

ifndef MOCHA_REPORTER
    MOCHA_REPORTER := spec
endif

ifndef MOCHA_TIMEOUT
    MOCHA_TIMEOUT := 2000
endif

ifndef MOCHA_SLOW
    MOCHA_SLOW := 75
endif

If you want to customize a parameter, add the parameter to your main Makefile.

PARAMETER_NAME = your_setting

back to table of content

Contributors

 project  : common-makefiles
 repo age : 4 weeks
 active   : 12 days
 commits  : 131
 files    : 65
 authors  : 
   131	Paul Vollmer            100,0%

This summary is generated by the git-summary script.

back to table of content

License

The MIT License (MIT)  
  
Copyright (c) 2013 subtub  
  
Permission is hereby granted, free of charge, to any person obtaining a copy  
of this software and associated documentation files (the "Software"), to deal  
in the Software without restriction, including without limitation the rights  
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell  
copies of the Software, and to permit persons to whom the Software is  
furnished to do so, subject to the following conditions:  
  
The above copyright notice and this permission notice shall be included in  
all copies or substantial portions of the Software.  
  
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE  
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN  
THE SOFTWARE.  

back to table of content


This Readme was generated by subtool on Thu Nov 14 2013 09:53:27 GMT+0100 (CET).

Readme

Keywords

none

Package Sidebar

Install

npm i common-makefiles

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • subtub