Giter Club home page Giter Club logo

build-tools's Introduction

Build tools for standard makefile

These tools add standard components (sub-makefiles and build scripts) as well as example starters for the Makefile and circle.yml.

Add build-tools to a Makefile

git remote add -f build-tools [email protected]:drud/build-tools.git
git merge -s ours --allow-unrelated-histories build-tools/master
git read-tree --prefix=build-tools -u build-tools/master
git commit -m "Added build-tools for standard makefile as subtree"

Update build-tools directory from this repository using subtree merge

# If there is not a build-tools remote, add it
git remote add -f build-tools [email protected]:drud/build-tools.git
# Fetch/merge current build-tools (pull doesn't work if set to branch.autosetuprebase=always)
git fetch build-tools
git merge -s subtree build-tools/master

Set up a Makefile to begin with

  • Copy the Makefile.example to "Makefile" in the root of your project
  • Edit the sub-Makefiles included
  • Update the variables at the top of the Makefile

Additional chores when installing:

  • Add the items from gitignore_example to your .gitignore
  • Update the project README.md to explain how to build - the target reminders in the paragraph below may be helpful.

Basic targets and capabilities

Using this base will allow you to build with standard targets like build, test, container, push, clean:

make 
make test
make container
make push
make VERSION=0.3.0 container
make VERSION=0.3.0 push
make clean

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.