jsallis / nuprojgen

A project skeleton creation tool for Nu

This URL has Read+Write access

name age message
file .gitignore Loading commit data...
file LICENSE
file Nukefile
file README.markdown
directory bin/
directory nu/
directory objc/
directory templates/
README.markdown

NuProjGen - a Nu project skeleton creation tool

You can use NuProjGen to generate a skeleton project definition.

Installation

To install via Git:

git clone git://github.com/jsallis/nuprojgen.git
cd nuprojgen
nuke install

This will install the following:

/Library/Frameworks/NuProjGen.framework
/usr/local/bin/nuprojgen

Usage

From the command line, run the following:

nuprojgen [project name] [namespace] [target dir]

where the arguments are:

* project name - the name of your project (must be camelcased)
* namespace    - your domain namespace (must be lowercased)
* target dir   - the directory you'd like your new project created in

Example:

nuprojgen.nu MyProject com.mydomain ~/projects

Output

The following project structure will be created in the target directory you specified on the command line, where [project] will be the project name specified, converted to lowercase (ie. MyProject -> myproject):

dir  [project]
dir  [project]/bin
dir  [project]/nu
dir  [project]/objc
dir  [project]/test
file [project]/LICENSE
file [project]/README.markdown
file [project]/Nukefile
file [project]/nu/[project].nu
file [project]/objc/[project].m
file [project]/.gitignore

Assumptions

  • you want to make a Nu framework project, potentially with a command line component
  • you are using git for your SCM
  • you are using a simple text editor for development (no Xcode project is generated)