Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Δ:.deosrc

Andrew T. DeSantis edited this page Dec 24, 2016 · 18 revisions

.deosrc

Schema

type: object
required: [a, b, c]
properties:
  a: {type: number}
  b: {type: number}
  c: {type: number}

Environment

a: 1
b: 2
c: 3

Template

Δ with (data=None)

FALSE:=0
TRUE:=1

IS_FALSE:=$(FALSE)
IS_TRUE:=$(TRUE)
IS_MAC:=Darwin
IS_LINUX:=Linux

BASEDIR:=$(CURDIR)
HOSTOS:=$(shell uname -s)
ISFALSE:=$(FALSE)
ISLINUX:=Linux
ISMAC:=Darwin
ISTRUE:=$(TRUE)
SETCACHE:=$(TRUE)
USECACHE:=$(FALSE)

UPCMD:="vagrant up --provider virtualbox"

ifeq ($(HOSTOS),$(ISMAC))
LOGGER:=$(BASEDIR)/.deos/bin/darwin/logger
PRINTM:=$(BASEDIR)/.deos/bin/darwin/print
SPINNER:=$(BASEDIR)/.deos/bin/darwin/spinner
else
LOGGER:=$(BASEDIR)/.deos/bin/travis/logger
PRINTM:=$(BASEDIR)/.deos/bin/travis/print
SPINNER:=$(BASEDIR)/.deos/bin/travis/spinner
endif

DeOS_GIT_REPO_BIPS:=git@github.com:bitcoin/bips.git
DeOS_GIT_REPO_HYPER:=git@github.com:zeit/hyper.git
DeOS_GIT_REPO_WEB:=git@github.com:webpy/webpy.git
DeOS_GIT_REPO_WIKI:=git@github.com:DeSantisInc/DeOS.wiki.git

export DeOS_VM_BOX:=bento/ubuntu-16.04
export DeOS_VM_SHELL_DEFAULT:=bash -c 'BASH_ENV=/etc/profile exec bash'
export DeOS_VM_SHELL_SSH:=bash -l

DeOS_ADD_DOTDEOS:=mkdir .deos .deos/bin .deos/bin/darwin .deos/bin/vagrant .deos/bin/travis .deos/obj .deos/obj/darwin .deos/obj/vagrant .deos/obj/travis .deos/venv .deos/venv/darwin .deos/venv/vagrant .deos/venv/travis
DeOS_ADD_TRAVIS:=gem install travis --no-rdoc --no-ri
DeOS_BIN_TRAVIS:=$(shell which travis)
DeOS_RM_DOTDEOS:=rm -rf .deos

Test

a: 1
b: 2
c: 3
Clone this wiki locally