Skip to content

Instantly share code, notes, and snippets.

View shubik's full-sized avatar

Alexander shubik

  • Teradek LLC
  • Irvine, CA
  • 15:26 (UTC +03:00)
View GitHub Profile
@shubik
shubik / gist:10954124
Created April 17, 2014 05:04
JSX Grunt task
grunt.initConfig({
srcPath: 'src',
buildPath: 'public',
shell: {
'build-jsx': {
command: [
'jsx -x jsx <%= srcPath %>/jsx/ <%= srcPath %>/js/app/views/',
'rm -rf <%= src_path %>/js/app/views/.module-cache/'
].join(' && '),
└── src
├── js
| ├── app
| │   ├── collections
| │   ├── config
| │   ├── controllers
| │   ├── libs
| │   └── models
| └── vendor
└── jsx
└── src
└── js
├── app
│   ├── collections
│   ├── config
│   ├── controllers
│   ├── libs
│   ├── models
│   └── views
└── vendor