Git Product home page Git Product logo

bake's Introduction

Bake

Authors: Bruce How (22242664) & Vincent Tian (22262122)

Bake is a small program supporting a small subset of the features of the standard Unix-based utility make.

It is apart of the 2018 CITS2002 Systems Programming Project.

Installation

Use the provided Makefile to compile the program which will create an executable Bake program.

make Bake

Usage

The program can be ran with optional parameters. There are 6 optional parameters which can be defined.

  • -C directoryname before opening and reading the specification file, bake is to change directory to the indicated directory.
  • -f filename instead of reading its specification from the default Bakefile or bakefile, bake reads its specification from the indicated file.
  • -i ignore the unsuccessful termination of actions; continue executing a target's actions even if any fail.
  • -n print (to stdout) each shell-command-sequence before it is to be executed, but do not actually execute the commands. Assume that each shell-command-sequence executes successfully. This option enables bake to simply report what it would do, without doing it.
  • -p after reading in the specification file, print its information (from bake's internal representation) to stdout with all variable expansions performed. Then simply exit with success. Only the targets, dependencies, and actions need be printed (though you may wish to also print the variables (names and values).
  • -s execute silently, do not print each shell-command-sequence before it is executed.

Example

bake -in -f fileToBake -C ../bakedir

bake's People

Contributors

brucehow avatar vtian72 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

young170

bake's Issues

Invalid Dependencies

Dependencies with invalid URLs or files that are non existent should require the target to be built.

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.