Skip to content
This repository has been archived by the owner on Sep 17, 2018. It is now read-only.

Commit

Permalink
assetgen: updated config with prereqs, embeds and new files.
Browse files Browse the repository at this point in the history
  • Loading branch information
tav committed Jan 15, 2012
1 parent c0950e2 commit 9ead130
Showing 1 changed file with 42 additions and 14 deletions.
56 changes: 42 additions & 14 deletions assetgen.yaml
Expand Up @@ -12,23 +12,40 @@ generate:
- coffee/ucd.js
- coffee/rpc.coffee
- coffee/validate.coffee
- coffee/domly.coffee
- coffee/notifi.js
- coffee/main.coffee
uglify:
- --define-from-module
- consts
profile.dev:
uglify:
- --beautify
- --no-mangle
- --no-squeeze
- --define-from-module
- consts-dev

- gfx/*:
source: resource/gfx/*
type: binary

- init.js:
- init.css:
source:
- raw: |
/* Public Domain (-) 2011-2012 The Togethr Authors.
* See the Togethr UNLICENSE file for details. */
- coffee/init.coffee
- sass/init.sass
compressed: true

- loader.css:
- init.js:
source:
- sass/loader.sass
- coffee/init.coffee
compressed: true
uglify:
- --define-from-module
- consts
profile.dev:
uglify:
- --define-from-module
- consts-dev

- qunit.css:
source:
Expand All @@ -45,10 +62,6 @@ generate:
/* Public Domain (-) 2011-2012 The Togethr Authors.
* See the Togethr UNLICENSE file for details. */
- sass/site.sass
embed.data_limit: no
embed.only: yes
embed.path.root: resource
embed.url.base: /.static/

- test.js:
source:
Expand All @@ -64,13 +77,28 @@ generate:
* See the Togethr UNLICENSE file for details. */
- sass/update.sass

prereqs:

- coffee/consts.js:
source: coffee/consts.coffee
compressed: false

- coffee/consts-dev.js:
source: coffee/consts-dev.coffee
compressed: false

css.embed.data_limit: no
css.embed.only: yes
css.embed.path.root: resource
css.embed.url.base: /.static/

env:
NODE_PATH.prefix: coffee

output.directory: app/build
output.hashed: true
output.manifest: app/build/assets.json

env:
NODE_PATH.prefix: app/build

profile.dev:
css.compressed: false
js.compressed: false
Expand Down

0 comments on commit 9ead130

Please sign in to comment.