0.1.1 • Published 8 years ago

retis v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

retis Build Status Coverage Status Code Climate Dependency Status devDependency Status

The advanced build service for everyone - including dudes!

Development is currently paused, come back to this NOTICE: Currently in active development. Not all features may be available. There may be bugs; if you find a bug, please file an issue.

Requirements

  • node: >=6.0.0

Getting Started

$ npm install -g retis

Usage

retis <target> [options]

Targets:

  • build

Use retis <target> --help for options for a specific target

How do I use retis?

Use a config file. Put this in a .retis.yml:

# Plugins that you can use
# Either ran before or after build
plugins:
  - "https://raw.githubusercontent.com/jakhu/retis-tester-1/test/psf.cson"
name: "retis-example" # Name of your project
out_dir: "./build" # Build dir
# Coming soon: Source code pulling
scm:
  type: "git"
  remote: "origin"
  user:
    name: Gum-Joe
# Local build?
local: true
# Language of your project (nodejs, ruby, cpp or c)
language: "nodejs"

# CMDs
# Put your commands as each property
pre_install: echo pre_install
install:
  - 'echo install'
  - 'echo You can even have multiple commands!'
post_install: 'echo post'
build: 'echo build'
post_build: 'echo post'

# Global deps (npm, gem or pip)
global:
  npm:
    - "buildup"
  gem:
    - "sass"
  pip:
    - "request"
sh:
  hide_env: false

# Environment variables for your build
env:
  - TEST=test

Compiling

# Compile libs
coffee --bare -o lib -c src
# Compile bin
coffee --bare -o bin -c src/bin

Tests

npm test

Creating your first project

Coming soon!

Making plugins

Coming soon. Please see jakhu/retis-tester-1 for an example