Browse Source

Fix config load

pull/1785/head
jlukic 9 years ago
parent
commit
a11f709391
16 changed files with 13 additions and 4 deletions
  1. 12
      tasks/README.md
  2. 3
      tasks/build.js
  3. 0
      tasks/check-install.js
  4. 0
      tasks/config/admin/oauth.example.js
  5. 0
      tasks/config/admin/release.js
  6. 0
      tasks/config/admin/templates/README.md
  7. 0
      tasks/config/admin/templates/bower.json
  8. 0
      tasks/config/admin/templates/composer.json
  9. 0
      tasks/config/admin/templates/package-component.js
  10. 0
      tasks/config/admin/templates/package.js
  11. 0
      tasks/config/admin/templates/package.json
  12. 2
      tasks/config/project/tasks.js
  13. 0
      tasks/install.js
  14. 0
      tasks/rtl/build.js
  15. 0
      tasks/rtl/watch.js
  16. 0
      tasks/serve-docs.js

12
tasks/README.md

@ -1,7 +1,17 @@
## Tasks
* Watch - Compile only changed files from source
* Build - Build all files from source
* Version - Output version number
* Install - Run Installer to Set-up Paths
## How to use
These tasks can be imported into your own gulpfile allowing you to avoid using Semantic's build tools
```javascript
gulp.task('watch ui', 'Watch Semantic UI', require('path/to/semantic/tasks/watch'));
var
watch = require('path/to/semantic/tasks/watch')
;
gulp.task('watch ui', 'Watch Semantic UI', watch));
```

3
tasks/build.js

@ -42,10 +42,9 @@ var
settings = tasks.settings
;
// add internal tasks
// add internal tasks (concat release)
require('./collections/internal')(gulp);
module.exports = function(callback) {
var

tasks/collections/check-install.js → tasks/check-install.js

tasks/admin/config/oauth.example.js → tasks/config/admin/oauth.example.js

tasks/admin/config/release.js → tasks/config/admin/release.js

tasks/admin/templates/README.md → tasks/config/admin/templates/README.md

tasks/admin/templates/bower.json → tasks/config/admin/templates/bower.json

tasks/admin/templates/composer.json → tasks/config/admin/templates/composer.json

tasks/admin/templates/package-component.js → tasks/config/admin/templates/package-component.js

tasks/admin/templates/package.js → tasks/config/admin/templates/package.js

tasks/admin/templates/package.json → tasks/config/admin/templates/package.json

2
tasks/config/project/tasks.js

@ -3,6 +3,7 @@ var
release = require('./release')
;
module.exports = {
banner : release.banner,
@ -21,7 +22,6 @@ module.exports = {
concatenatedJS : 'semantic.js',
concatenatedMinifiedCSS : 'semantic.min.css',
concatenatedMinifiedJS : 'semantic.min.js',
concatenatedRTLCSS : 'semantic.rtl.css',
concatenatedMinifiedRTLCSS : 'semantic.rtl.min.css'
},

tasks/collections/install.js → tasks/install.js

tasks/collections/build-rtl.js → tasks/rtl/build.js

tasks/collections/watch-rtl.js → tasks/rtl/watch.js

tasks/collections/serve-docs.js → tasks/serve-docs.js

Loading…
Cancel
Save