Quick & Easy Projects

Quick & Easy Projects

Starting a new coding project usually involves taking the same steps.

  1. Create a folder for your new project.
  2. At a minimum create sub folders for the source, assets, compiled and release files.
  3. Add  notes/read-me/licence files.
  4. Create a blank top level project stack.

These tasks can be easily automated with a simple stack that does this for you.

Project Make - project creation made simple

Easy to use: 3 steps.

  1. Choose your base folder location or use the current user documents path.
  2. Name your project *note that this will also be used for the name of the stack to be created.
  3. Decide if you would like the project folder to be opened after all have been created.

Most of the code is in the Create Project Folders on mouseUp handler.

To define your own folders and files to be created amend the on CreateSubFolders handler.


on CreateSubFolders
create folder fld "BaseFolder" & "/" & fld "ProjectName"
CreateCheck
--create a notes file and add the base folder, project name and date to it
open file fld "BaseFolder" & "/" & fld "ProjectName" & "/" & "notes.txt"
write fld "ProjectName" & return & fld "BaseFolder" & return & the Date to file fld "BaseFolder" & "/" & fld "ProjectName" & "/" & "notes.txt"
close file fld "BaseFolder" & "/" & fld "ProjectName" & "/" & "notes.txt"
CreateCheck

create folder fld "BaseFolder" & "/" & fld "ProjectName" & "/source"
CreateCheck
create folder fld "BaseFolder" & "/" & fld "ProjectName" & "/assets"
CreateCheck
create folder fld "BaseFolder" & "/" & fld "ProjectName" & "/assets/audio"
CreateCheck
create folder fld "BaseFolder" & "/" & fld "ProjectName" & "/assets/images"
CreateCheck
create folder fld "BaseFolder" & "/" & fld "ProjectName" & "/compiled"
CreateCheck
create folder fld "BaseFolder" & "/" & fld "ProjectName" & "/release"
CreateCheck
end CreateSubFolders

Download the stack file from here http://livecodeshare.runrev.com/stack/796/Project-Make