0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 00:17:06 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Tim Heap
4614526416 Move require() calls out of gulp tasks 2015-05-01 08:53:05 +10:00
Tim Heap
2af8fdf8b6 Build assest as part of watching them 2015-05-01 08:53:05 +10:00
Tim Heap
37816f68cf Move all static assets to static_src, compile to static
The fonts were also relocated out of the `scss/fonts` directory to their
own `fonts` directory.

All the `static` directories are now ignored, and are completely
generated from the compilation process.
2015-05-01 08:53:04 +10:00
Tim Heap
ddebafa119 Remove libsass dependency, precompile CSS for distribution
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.

libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:

    $ pip install -e path/to/wagtail
    $ cd path/to/wagtail
    $ npm install
    $ npm start

All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.

Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00