Giter Site home page Giter Site logo

coding-dojo's Introduction

Coding Dojo

Emacs lib to quickly create a small TDD craddle in various languages.

Usage

Call the dojo-new-project command. It will ask you for a project name in the minibuffer, then a language (with auto completion).

That's it, it will create a TDD craddle for you, in a directory named ProjectName-Language, and open your main file and test file.

Installation

  • Add coding-dojo.el to your emacs load path, then add the dojo-new-project command to the autoload list: (autoload 'dojo-new-project "coding-dojo" nil t)
  • Customize the coding-dojo group, setting:
    • the *dojo-template-dir* variable to point to the coding-dojo languages directory (or your own template dir).
    • the *dojo-project-dir* variable to point to the directory where you want your new projects to be created.

That's it, now call dojo-new-project when you want to create a new project.

Adding a new language

To add a new language craddle, just add a directory named after your language in the languages directory.

In this directory, put all the required files. All $main strings within these files will be replaced by the name you give to the project, and the file named main.extension will be renamed after your project's name (see examples in the languages directory).

Coding Dojo Tests

The lib itself was written using TDD. Tests for coding-dojo.el are in the coding-dojo.elk file. They use elk-test.

coding-dojo's People

Contributors

sroccaserra avatar

Stargazers

Quanteek avatar

Watchers

James Cloos 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.