Giter Site home page Giter Site logo

ddt's Introduction

Build Status

NAME

Ddt - Distribution Development Tool

SYNOPSIS

> ddt --license-name=LGPL new Foo::Bar # create Foo-Bar distribution
> cd Foo-Bar
> ddt build        # build the distribution and re-generate README.md & META6.json
> ddt -C test      # Run tests when files change

DESCRIPTION

Ddt is an authoring and distribution development tool for Perl6. It provides scaffolding for generating new distributions, packages, modules, grammers, classes and roles.

WARNING

This project is a technology preview. It may change at any point. The only API which can be considered stable up to the v1.0 is the command line interface.

USAGE

ddt [--license-name=«NAME»] new <module> -- Create new module
ddt build                                -- Build the distribution & README.md
ddt [-C|--continues] test [<tests> …]    -- Run distribution tests
ddt release                              -- Make release
ddt hack <identity> [<dir>]              -- Checkout a Distribution and start hacking on it
ddt generate class <name>                -- Generate a class
ddt generate role <name>                 -- Generate a role
ddt generate package <name>              -- Generate a package
ddt generate grammar <name>              -- Generate a grammar
ddt generate module <name>               -- Generate a module
ddt generate test <name> [<description>] -- Generate stub test file
ddt [-v] deps distri                     -- Show all the modules used
ddt [-u|--update] deps                   -- Update META6.json dependencies
ddt watch [<cmd>…]                       -- Watch lib/, bin/ & t/ for changes respecting .gitignore and execute given cmd

INSTALLATION

# with zef
> zef install Ddt

Differences to Mi6

  • Support for different licenses via License::Software

  • META6 is generated using META6

  • Meta test

  • Use prove for tests

  • Run tests on changes

  • Extended .gitignore

  • Support for different licenses

  • Support for Distributions with a hyphen in the name

FAQ

  • How can I manage depends, build-depends, test-depends?

Use ddt -u deps

  • Where is the spec of META6.json?

Maybe https://github.com/perl6/ecosystem/blob/master/spec.pod or http://design.perl6.org/S22.html

  • How do I remove the travis badge?

Remove .travis.yml

SEE ALSO

AUTHOR

COPYRIGHT AND LICENSE

  • Copyright © 2015 Shoichi Kaji

  • Copyright © 2016-2017 Bahtiar kalkin- Gadimov

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

ddt's People

Contributors

kalkin avatar skaji avatar mattn avatar titsuki avatar altai-man avatar 4d47 avatar samcv avatar tbrowder avatar holli-holzer avatar moznion avatar

Watchers

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