Code Monkey home page Code Monkey logo

nightly-env-debvars's Introduction

nightly-env-debvars

Automatically export debian packaging related variables for my nightlies.

What it's for

This script can make it very easy to package certain script-based applications, and much easier to package some other applications when they're being stubborn. It just sets up an environment for building the package with a script by exporting some variables and creating a clean package skeleton to build against.

How to use it

If you create a build-deb.sh or debian.sh(Or similar) script to build an application, source this into your application to export the following variables into your environment. In order to use them, source them into your build script like this if you use dash

    #! /bin/sh
    . export_deb_vars

or this if you use bash

    #! /bin/sh
    source export_deb_vars

To see an example of this script in action, see the debian.sh script in this directory. It will source itself from within the repository if the script isn't already in your PATH.

Variables Exported by the Script

will be added in later

How to override the variables

Once you've sourced the variables in, you can use them as you see fit, declare new ones, or override the exported values by changing them AFTER the script has been sourced.

nightly-env-debvars's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.