Skip to content

Instantly share code, notes, and snippets.

@gamerson
Created December 17, 2015 17:27
Show Gist options
  • Select an option

  • Save gamerson/7fb1a0f379ec6499f16f to your computer and use it in GitHub Desktop.

Select an option

Save gamerson/7fb1a0f379ec6499f16f to your computer and use it in GitHub Desktop.
gradle build from a "new" theme
~/dev/my repos/liferay-workspace/themes/sample-theme(versions ✗) gradle build
:themes:sample-theme:createLiferayThemeJson SKIPPED
:themes:sample-theme:downloadNode SKIPPED
:themes:sample-theme:npmInstall
npm WARN package.json sample-theme@1.0.0 No description
npm WARN package.json sample-theme@1.0.0 No repository field.
npm WARN package.json sample-theme@1.0.0 No README data
npm WARN package.json sample-theme@1.0.0 No license field.
> liferay-theme-tasks@0.0.42 install /Users/greg/dev/my repos/liferay-workspace/themes/sample-theme/node_modules/liferay-theme-tasks
> node scripts/install.js
> spawn-sync@1.0.13 postinstall /Users/greg/dev/my repos/liferay-workspace/themes/sample-theme/node_modules/liferay-theme-tasks/node_modules/gulp-sass/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall
> node-sass@3.4.2 install /Users/greg/dev/my repos/liferay-workspace/themes/sample-theme/node_modules/liferay-theme-tasks/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /Users/greg/dev/my repos/liferay-workspace/themes/sample-theme/node_modules/liferay-theme-tasks/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64-14/binding.node
> node-sass@3.4.2 postinstall /Users/greg/dev/my repos/liferay-workspace/themes/sample-theme/node_modules/liferay-theme-tasks/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js
` /Users/greg/dev/my repos/liferay-workspace/themes/sample-theme/node_modules/liferay-theme-tasks/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64-14/binding.node ` exists.
testing binary.
Binary is fine; exiting.
liferay-frontend-common-css@1.0.2 node_modules/liferay-frontend-common-css
liferay-frontend-theme-styled@1.0.2 node_modules/liferay-frontend-theme-styled
compass-mixins@0.12.7 node_modules/compass-mixins
liferay-frontend-theme-unstyled@1.0.2 node_modules/liferay-frontend-theme-unstyled
gulp-sass@2.0.4 node_modules/gulp-sass
├── object-assign@2.1.1
├── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.33)
├── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)
└── node-sass@3.4.2 (get-stdin@4.0.1, async-foreach@0.1.3, nan@2.1.0, mkdirp@0.5.1, chalk@1.1.1, npmconf@2.1.2, meow@3.6.0, sass-graph@2.0.1, cross-spawn@2.1.0, gaze@0.5.2, request@2.67.0, node-gyp@3.2.1)
gulp@3.9.0 node_modules/gulp
├── interpret@0.6.6
├── pretty-hrtime@1.0.1
├── deprecated@0.0.1
├── archy@1.0.0
├── minimist@1.2.0
├── semver@4.3.6
├── v8flags@2.0.10 (user-home@1.1.1)
├── tildify@1.1.2 (os-homedir@1.0.1)
├── chalk@1.1.1 (escape-string-regexp@1.0.3, supports-color@2.0.0, ansi-styles@2.1.0, has-ansi@2.0.0, strip-ansi@3.0.0)
├── orchestrator@0.3.7 (sequencify@0.0.7, stream-consume@0.1.0, end-of-stream@0.1.5)
├── liftoff@2.2.0 (extend@2.0.1, rechoir@0.6.2, flagged-respawn@0.3.1, resolve@1.1.6, findup-sync@0.3.0)
├── vinyl-fs@0.3.14 (graceful-fs@3.0.8, strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, mkdirp@0.5.1, through2@0.6.5, glob-stream@3.1.18, glob-watcher@0.0.6)
└── gulp-util@3.0.7 (array-differ@1.0.0, array-uniq@1.0.2, fancy-log@1.1.0, lodash._reinterpolate@3.0.0, beeper@1.1.0, lodash._reevaluate@3.0.0, lodash._reescape@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, vinyl@0.5.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.0, multipipe@0.1.2, dateformat@1.0.12)
liferay-theme-tasks@0.0.42 node_modules/liferay-theme-tasks
├── gulp-rename@1.2.2
├── vinyl-paths@2.1.0
├── diff@1.4.0
├── minimist@1.2.0
├── async@0.9.2
├── lodash@3.10.1
├── fs-extra@0.24.0 (path-is-absolute@1.0.0, jsonfile@2.2.3, rimraf@2.4.4, graceful-fs@4.1.2)
├── run-sequence@1.1.5 (chalk@1.1.1)
├── gulp-help@1.6.1 (object-assign@3.0.0, chalk@1.1.1)
├── node-bourbon@4.2.3 (bourbon@4.2.3)
├── del@1.2.1 (is-path-cwd@1.0.0, object-assign@3.0.0, rimraf@2.4.4, each-async@1.1.1, globby@2.1.0, is-path-in-cwd@1.0.0)
├── gulp-debug@2.1.2 (object-assign@4.0.1, tildify@1.1.2, plur@2.1.1, chalk@1.1.1, stringify-object@2.3.1)
├── gulp-inject@2.2.0 (event-stream@3.3.2)
├── through2@2.0.0 (xtend@4.0.1, readable-stream@2.0.5)
├── gulp-plumber@0.6.6 (through2@0.6.5)
├── gulp-concat@2.6.0 (concat-with-sourcemaps@1.0.4, through2@0.6.5)
├── gulp-sourcemaps@1.6.0 (graceful-fs@4.1.2, convert-source-map@1.1.2, vinyl@1.1.0, strip-bom@2.0.0)
├── glob@5.0.15 (path-is-absolute@1.0.0, inherits@2.0.1, once@1.3.3, inflight@1.0.4, minimatch@3.0.0)
├── gulp-filter@2.0.2 (merge-stream@0.1.8, through2@0.6.5, plexer@0.0.3, multimatch@2.1.0)
├── gulp-load-plugins@0.8.1 (multimatch@2.0.0, findup-sync@0.2.1)
├── gulp-zip@3.0.2 (chalk@1.1.1, yazl@2.2.2, through2@0.6.5, concat-stream@1.5.1)
├── update-notifier@0.5.0 (is-npm@1.0.0, latest-version@1.0.1, chalk@1.1.1, string-length@1.0.1, semver-diff@2.1.0, repeating@1.1.3, configstore@1.4.0)
├── gulp-if@1.2.5 (through2@0.6.5, gulp-match@0.2.1, ternary-stream@1.2.3)
├── npm-keyword@1.2.0 (registry-url@3.0.3, got@3.3.1)
├── package-json@1.2.0 (registry-url@3.0.3, got@3.3.1)
├── gulp-replace-task@0.2.3 (applause@0.4.3)
├── gulp-liferay-r2-css@0.0.2 (liferay-r2@0.4.3)
├── gulp-livereload@3.8.1 (event-stream@3.3.2, debug@2.2.0, chalk@0.5.1, lodash.assign@3.2.0, mini-lr@0.1.8)
├── gulp-prompt@0.1.2 (event-stream@3.0.20, inquirer@0.3.5)
├── gulp-util@3.0.7 (array-differ@1.0.0, array-uniq@1.0.2, beeper@1.1.0, fancy-log@1.1.0, lodash._reinterpolate@3.0.0, lodash._reevaluate@3.0.0, lodash._reescape@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, chalk@1.1.1, vinyl@0.5.3, gulplog@1.0.0, lodash.template@3.6.2, multipipe@0.1.2, dateformat@1.0.12)
├── gulp-storage@1.0.6 (lodash@2.4.2, gulp-util@2.2.20)
├── inquirer@0.8.5 (ansi-regex@1.1.1, figures@1.4.0, cli-width@1.1.0, through@2.3.8, readline2@0.1.1, chalk@1.1.1, rx@2.5.3)
└── convert-bootstrap-2-to-3@1.0.2 (string-sub@0.0.1, to-int@0.1.0, cli@0.4.5, async@0.7.0, cli-color-keywords@0.0.1, content-formatter@1.1.0, roolz@1.0.2, optimist@0.6.1, content-logger@0.0.3)
:themes:sample-theme:gulpBuild
[11:23:04] Using gulpfile ~/dev/my repos/liferay-workspace/themes/sample-theme/gulpfile.js
[11:23:04] Starting 'build'...
[11:23:04] Starting 'build:clean'...
[11:23:04] Finished 'build:clean' after 92 ms
[11:23:04] Starting 'build:base'...
[11:23:04] Finished 'build:base' after 424 ms
[11:23:04] Starting 'build:src'...
[11:23:04] Finished 'build:src' after 5.18 ms
[11:23:04] Starting 'build:web-inf'...
[11:23:04] Finished 'build:web-inf' after 2.15 ms
[11:23:04] Starting 'build:hook'...
[11:23:04] Finished 'build:hook' after 6.9 ms
[11:23:04] Starting 'build:themelets'...
[11:23:04] Starting 'build:themelet-css'...
[11:23:04] Finished 'build:themelet-css' after 613 μs
[11:23:04] Starting 'build:themelet-images'...
[11:23:04] Finished 'build:themelet-images' after 119 μs
[11:23:04] Starting 'build:themelet-js'...
[11:23:04] Finished 'build:themelet-js' after 34 μs
[11:23:04] Starting 'build:themelet-templates'...
[11:23:04] Finished 'build:themelet-templates' after 27 μs
[11:23:04] Starting 'build:themelet-css-inject'...
[11:23:04] Starting 'build:themelet-js-inject'...
[11:23:04] gulp-inject Nothing to inject into _custom.scss.
[11:23:04] gulp-inject Nothing to inject into portal_normal.ftl.
[11:23:04] Finished 'build:themelet-css-inject' after 31 ms
[11:23:04] Finished 'build:themelet-js-inject' after 8.93 ms
[11:23:04] Finished 'build:themelets' after 34 ms
[11:23:04] Starting 'build:rename-css-dir'...
[11:23:04] Finished 'build:rename-css-dir' after 146 μs
[11:23:04] Starting 'build:compile-css'...
[11:23:05] Finished 'build:compile-css' after 406 ms
[11:23:05] Starting 'build:fix-url-functions'...
[11:23:05] Finished 'build:fix-url-functions' after 25 ms
[11:23:05] Starting 'build:move-compiled-css'...
[11:23:05] Finished 'build:move-compiled-css' after 145 ms
[11:23:05] Starting 'build:remove-old-css-dir'...
[11:23:05] Finished 'build:remove-old-css-dir' after 33 ms
[11:23:05] Starting 'build:fix-at-directives'...
[11:23:05] Finished 'build:fix-at-directives' after 4.53 ms
[11:23:05] Starting 'build:r2'...
[11:23:05] Finished 'build:r2' after 90 ms
[11:23:05] Starting 'build:war'...
[11:23:05] Finished 'build:war' after 429 ms
[11:23:05] Finished 'build' after 1.7 s
----------------------------------------------------------------
You are running an old version of liferay-theme-tasks
Run npm update liferay-theme-tasks to install newest version
Current version: 0.0.41 Latest version: 0.0.42
----------------------------------------------------------------
:themes:sample-theme:build
BUILD SUCCESSFUL
Total time: 47.299 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment