#!/usr/bin/env node

/**
 * Bud file for bin node.
 * Executing this file renders scripts to handle node container.
 *
 * Generated by {{generator}} on {{today}},
 * from a template provided by {{pkg.name}}.
 *
 * @see https://github.com/coz-repo/coz
 */

"use strict";

const apemanBudBin = require('apeman-bud-bin');

const DPLY_NAME = 'node';

module.exports = [
    // deploy.js
    apemanBudBin.deploy(DPLY_NAME),
    // undeploy.js
    apemanBudBin.undeploy(DPLY_NAME),
    // terminal.js
    apemanBudBin.terminal(DPLY_NAME),
    // start.js
    apemanBudBin.exec(DPLY_NAME, {
        script: '/mnt/project/bin/start.js'
    }),
    // stop.js
    apemanBudBin.exec(DPLY_NAME, {
        script: '/mnt/project/bin/stop.js'
    }),
    // show.js
    apemanBudBin.exec(DPLY_NAME, {
        script: '/mnt/project/bin/show.js'
    }),
    // debug.js
    apemanBudBin.exec(DPLY_NAME, {
        script: '/mnt/project/bin/debug/debug_all.js',
        filename: 'debug.js'
    }),
    // setup.js
    apemanBudBin.exec(DPLY_NAME, {
        script: '/mnt/project/ci/setup.js',
        filename: 'setup.js'
    })
];

{{{read _render}}}
