Giter Club home page Giter Club logo

git-kaizen's Introduction

git-kaizen

Theory

It's like a forward build system (TODO cite) with no predefined end state or project scope. Instead, the goal is just to make continuous progress wherever you can...

  1. When you find yourself doing something repetitive with files, stop and try to codify it as a script. You define the commands to run along with input and (optinal) output filename patterns.

  2. Later, git-kaizen will suggest running the script on other matching files. You have a growing menu of "next steps" for various situations.

  3. As with a build system, the real magic is in chaining steps together. But this is easier! You don't need to start with a plan; pipelines just form organically.

Practice

TODO backup example here

For users

See usage.txt for command line options.

For developers

Build

This project provides a non-invasive Stack+Nix integration. See the Tweag blog for details.

$ nix-shell
[nix-shell]$ stack build

Update Docs

Update Dependencies

You want the latest GHC version supported by both nixpkgs-unstable and a Stack LTS snapshot. It can be a little tricky because Niv is broken(?), so I update like this:

  1. Find the current nixpkgs-unstable git rev here (should also be the one shown on the github branch)
  2. Manually update the rev and url in nix/sources.json, try to nix-shell, and edit the sha256sum when you get a mismatch.
  3. nix-shell again, nix repl, :l <nixpkgs>, tab complete haskell.compiler.ghc to find available GHC versions.
  4. Check Stackage for the latest LTS snapshot that matches one of the Nix-supported GHC versions.
  5. Update the resolver in stack.yaml and try to stack build
  6. Correct any remaining issues

git-kaizen's People

Contributors

jefdaj avatar

Watchers

 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.