This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Project Structure
wpbasti edited this page Sep 20, 2012
·
5 revisions
Jasy supports different kind of projects. A project is something like your very own application folder, but also any kind of library you make use of e.g. jQuery. In most cases the kind of project is detected automatically based on its folder structure. A project author is able to define a custom structure using the "content" section inside the configuration files.
JavaScript source code must have the extension js
and export a single class per file (Single exported symbol per file - Don't put multiple declarations into one file). Assets of arbitrary types are supported (Image size handling supported for png
, gif
and jpeg
only). Translations must be written in Gettext po
format. One language per file e.g. fr.po
.
- File:
jasyproject.json
/jasyproject.yaml
- Occurrences: one
- Location: Project root folder
- Docs: Project Config
- File:
jasyscript.json
/jasyscript.yaml
- Occurrences: one
- Location: Project root folder
- Docs: Build Script
- File:
jasysprite.json
/jasysprite.yaml
+jasysprite_xxx.png
- Occurrences: few
- Location: Inside asset folders
- Docs: Image Sprites
- File:
jasyanimation.json
/jasyanimation.yaml
- Occurrences: few
- Location: Inside asset folders
- Docs: Image Animations
- File:
jasyscript.py
- Occurrences: one
- Location: Project root folder
- Docs: Build Script
- File:
jasylibrary.py
- Occurrences: one
- Location: Project root folder
- Docs: Sharing Methods
- File:
./jasy/cache*
- Occurrences: one
- Location: Root folder
- File:
.jasy/server-xxx
(xxx = Port being used) - Occurrences: few
- Location: Root folder
- Docs: Web Server
- File:
.jasy/mirror-xxx
(xxx = Route being mirrored) - Occurrences: few
- Location: Root folder
- Docs: Web Server