Giter VIP home page Giter VIP logo

gcu's Introduction

gcu - (G)it (C)atch-(U)p - run git pull for all projects from common directory.

Clojars Project Dependencies Status NPM

Run git pull on all projects from a given directory using Lumo/ClojureScript.

Pre-requisites

For OSX:

brew install lumo
brew install coreutils

Basic Installation

# Install Lumo via NPM (if not already)
npm install -g lumo-cljs

# Install the library from npm
npm install -g gcu

# This will allow you to run something like
gcu ~/path/to/your-base-directory

# To allow verbose mode try
gcu ~/projects/clojure-src verbose true

Sample Session

gcu-sample-session

Licenses

Copyright © 2018 Burin Choomnuan

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

gcu's People

Contributors

agilecreativity avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gcu's Issues

Failure with lumo installed via homebrew

This is a great example of leveraging cljs! I ran into an issue on my system configuration however. I am on MacOS 10.13 and have lumo installed via Homebrew. The bin/gcu script fails for me however with the following error:

readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
/Users/estewart/.nvm/versions/node/v9.5.0/bin/gcu: line 18: /lumo: No such file or directory
/Users/estewart/.nvm/versions/node/v9.5.0/bin/gcu: line 18: exec: /lumo: cannot execute: No such file or directory

The readlink call that is failing appears to be unnecessary, as I can run gcu successfully if I simply comment out the link test that leads to the readlink call. It looks like, at least with the combination of nvm installed node and homebrew installed lumo, the link doesn't require this translation anyway.

I'll look into contributing a patch when I have a little more time to look into this, just wanted to mention this in case anyone else runs into it. Nice to see scripts like this leveraging cljs and lumo out in the wild!

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.