Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Fixtures for developing and testing generator-rff

License

Notifications You must be signed in to change notification settings

rakuten-frontend/rff-fixtures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rff-fixtures

Fixtures for developing and testing generator-rff.

What is this?

Sample application sources for generator-rff development.

generator-rff has many and complicated tasks, so that we need to test and benchmark it with living app sources.
rff-fixtures helps to make generator-rff more stable.

Structure

rff-fixtures/
├── app/                   : Application files
│   ├── inc/               : SSI partials
│   ├── benchmark/         : HTML/Pug files for benchmarking
│   │   ├── index.html     : Original HTML
│   │   ├── index.pug      : Original Pug
│   │   ├── 00.html        : Cloned HTML
│   │   ├── 00.pug         : Cloned Pug
│   │   └── ...
│   ├── css/               : CSS
│   ├── _sass/             : Sass
│   ├── _less/             : Less
│   ├── _stylus/           : Stylus
│   ├── js/                : JavaScript
│   ├── _coffee/           : CoffeeScript
│   └── img/               : Images
│       ├── _sprites/      : Base images for spritesheet
│       └── _glyphs/       : Base SVG files for icon font
└── bower.json             : Front-end packages installed by bower

Usage

Whatever you like! :-)
This is typical usage, I think.

$ git clone https://github.com/rakuten-frontend/rff-fixtures.git && cd rff-fixtures
$ npm install --prefix utils
  # Install dependencies for utils command.
$ yo rff
  # Do NOT override files of rff-fixtures.
$ grunt <something>
  # Test grunt tasks with rff-fixtures.
$ utils/clean
  # Delete generated files to clean up.
$ yo rff
  # Generate again using other settings.
  # ...

Utility Commands

  • utils/clean
    Delete yeoman-generated files.

  • utils/clone
    Clone "app/benchmark/index.html" and "app/benchmark/index.pug" to "00.*" - "99.*".

License

Copyright (c) 2014-2016 Rakuten, Inc. Licensed under the MIT License.

About

Fixtures for developing and testing generator-rff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published