All Projects → pedrovgs → UpdateRepos

pedrovgs / UpdateRepos

Licence: other
Update all your git repositories with just one command. A command line tool written in Haskell.

Programming Languages

haskell
3896 projects

UpdateRepos Build Status

A command line tool used to update all your git repositories with just one command. Written using purely functional Haskell.

Follow me on Twitter

Screencast:

screencast

Usage:

  • Install stack following this tutorial.

  • Clone this repository:

git clone [email protected]:pedrovgs/UpdateRepos.git
cd UpdateRepos
  • Build and install the update-repos binary file:
stack setup
stack build
stack install
  • Execute the already installed binary file:
update-repos

Contributing:

If you are going to modify the code or just review the implementation from any IDE I strongly recommend you to install Atom following this guide to set up the whole Haskell environment in a few minutes.

You can build this project using stack and just a bunch of commands:

// Open a Haskell REPL with the modules already loaded
stack ghci

// Generates the executable file associated with the project
stack build

// Installs the already generated executable file in your ~/.local/bin folder
stack install

// Clean a previous build
stack clean

The production code is covered covered using unit and property based tests. If you want to build and execute the project tests you just need to install Stack and execute the following command:

stack build --test

Developed By

Follow me on Twitter Add me to Linkedin

License

Copyright 2017 Pedro Vicente Gómez Sánchez

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].