practicalmeteor/meteor-build-info

Name: meteor-build-info

Owner: practicalmeteor

Description: null

Created: 2016-01-09 05:24:42.0

Updated: 2016-03-18 01:49:54.0

Pushed: 2016-01-09 23:17:39.0

Homepage: null

Size: 9

Language: CoffeeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status

practicalmeteor:build-info

Overview

A meteor build plugin that adds the following fields to a global BuildInfo object, both server side and client side:

BuildInfo.buildNumber

The CI (continuous integration) build number, if it exists, or 0, if it doesn't.

Checks for the following environment variables:

Stored as an integer.

BuildInfo.buildDate

The date and time at which the meteor app was built, stored as a string in simplified extended ISO 8601 format.

Data from build-info.json

Any data found in build-info.json is added to BuildInfo too.

Usage

Create a build-info.json file in the root of your meteor app. It can be either an empty json or include any data you want to add to BuildInfo.

I recommend you add at least an appVersion field, in semver format (i.e. 1.0.0), that you should update from time to time.

Alternatively, you can also add the build-info.json file from a package, using:

addFiles('build-info.json');
Roadmap / Please Contribute
License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.