Project

nx-yaml

0.0
The project is in a healthy, maintained state
Nx yaml tools.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

nx-yaml

Nx yaml tools.

installation

# from gem
gem 'nx-yaml'
# from git
gem 'nx-yaml', git: 'git@github.com:afeiship/nx-yaml.git'

usage

Nx::Yaml.load('./template.yml', { name: 'my-template', description: 'Awesome template'})

template.yml

name: nx-yml
version: 0.1.0
env: 
  home: <%= ENV["HOME"] %>
host: <%= host %>
{
  name: "nx-yml",
  version: "0.1.0",
  env: {
    home: "/Users/aric.zheng",
  },
  host: "0.0.0.0",
}

build/publish

# build
gem build nx-yaml.gemspec

# publish
gem push nx-yaml-0.1.0.gem

rspec