jsallis / nuprojgen
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
LICENSE | ||
| |
Nukefile | ||
| |
README.markdown | ||
| |
bin/ | ||
| |
nu/ | ||
| |
objc/ | ||
| |
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)

