New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets build #201

Merged
merged 66 commits into from May 16, 2014

Conversation

Projects
None yet
2 participants
@nsams
Member

nsams commented May 13, 2014

No description provided.

nsams added some commits Apr 27, 2014

add trl cache to build
the second level in memory didn't change
if we don't have a db configured yet skip kwc resources
required to be able to build assets without db
move sass imports to correct folders to match their import name
for some reasons phpsass magically was fine with this
add susy and compass-mixins as individual libraries
previously they where contained in phpsass
allow detecting of all possible languages statically
this makes it possible to build without database
simplify assets path handling: only use absolute file path when acces…
…sing file, else work with type

with that we can avoid looking up the type based on the absolute path in most cases
use hand written implementation to combine multiple sourcemaps
much faster than mapcat as we don't iterate the whole map
move sass include paths to path to be able to load those included fil…
…es as they are part of the sourcemap sources
don't require If-Modified-Since header to equal, it also can be after…
… mtime

This fixes automatic reload of generated css in chrome

nsams added some commits May 13, 2014

add setting to enable/disable lazy building of assets
enable it by default for tests as we need lazy assets there
use replaced contents also when replacing it
fixes js files the first time they are used
add providerlist to cache id and read all providers from cache
- only build writes cache
- we also build maintenance provider list
fix text styles model asset dispatch
that needs to be loaded even if lazyBuild is disabled.
disable that only for packages
allow running clear-cache and build without having to define server.b…
…aseUrl

add an check in cli setup that makes sure both values are configured before running setup
improve error handling if not yet set up
show link to setup also after multiple refreshes
save uglifyjs build results in library instead of web
this allows sharing build results across webs
@fraxachun

This comment has been minimized.

Show comment
Hide comment
@fraxachun

fraxachun May 15, 2014

Contributor

Make cc in kwf work

Contributor

fraxachun commented May 15, 2014

Make cc in kwf work

@fraxachun

This comment has been minimized.

Show comment
Hide comment
@fraxachun

fraxachun May 15, 2014

Contributor

rename getPossibleLanguages in getAvailableLanguages

Contributor

fraxachun commented May 15, 2014

rename getPossibleLanguages in getAvailableLanguages

@fraxachun

This comment has been minimized.

Show comment
Hide comment
@fraxachun

fraxachun May 15, 2014

Contributor

update-to-master:
create build-directory
delete cache folders: component/events/table/trl

Contributor

fraxachun commented May 15, 2014

update-to-master:
create build-directory
delete cache folders: component/events/table/trl

nsams added a commit that referenced this pull request May 16, 2014

@nsams nsams merged commit a794106 into koala-framework:master May 16, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@nsams nsams deleted the nsams:assets-build branch May 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment