Skip to content

Commit

Permalink
Use '@camptocamp/closure-util' npm package
Browse files Browse the repository at this point in the history
And update it to the latest version
  • Loading branch information
fredj committed Oct 12, 2017
1 parent 86ea59f commit e52d751
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ NGEO_EXAMPLES_PARTIALS_FILES := $(shell ls -1 examples/partials/*.html)
GMF_EXAMPLES_PARTIALS_FILES := $(shell ls -1 contribs/gmf/examples/partials/*.html)

OS := $(shell uname)
CLOSURE_LIBRARY_PATH = $(shell node -e 'process.stdout.write(require("closure-util").getLibraryPath())' 2> /dev/null)
CLOSURE_LIBRARY_PATH = $(shell node -e 'process.stdout.write(require("@camptocamp/closure-util").getLibraryPath())' 2> /dev/null)

EXAMPLES_HTML_FILES := $(shell find examples -maxdepth 1 -type f -name '*.html')
EXAMPLES_JS_FILES := $(EXAMPLES_HTML_FILES:.html=.js)
Expand Down
2 changes: 1 addition & 1 deletion Makefile_windows
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GMF_DIRECTIVES_PARTIALS_FILES := $(shell ls -1 contribs/gmf/src/directives/parti
NGEO_EXAMPLES_PARTIALS_FILES := $(shell ls -1 examples/partials/*.html)
GMF_EXAMPLES_PARTIALS_FILES := $(shell ls -1 contribs/gmf/examples/partials/*.html)

CLOSURE_LIBRARY_PATH = $(shell node -e 'process.stdout.write(require("closure-util").getLibraryPath())' 2> /dev/null)
CLOSURE_LIBRARY_PATH = $(shell node -e 'process.stdout.write(require("@camptocamp/closure-util").getLibraryPath())' 2> /dev/null)

EXAMPLES_HTML_FILES := $(shell find examples -maxdepth 1 -type f -name '*.html')
EXAMPLES_JS_FILES := $(EXAMPLES_HTML_FILES:.html=.js)
Expand Down
2 changes: 1 addition & 1 deletion buildtools/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let path = require('path');

let async = require('async');
let closure = require('closure-util');
let closure = require('@camptocamp/closure-util');
let fs = require('fs-extra');
let nomnom = require('nomnom');
let temp = require('temp').track();
Expand Down
2 changes: 1 addition & 1 deletion buildtools/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let path = require('path');
let url = require('url');

let closure = require('closure-util');
let closure = require('@camptocamp/closure-util');
let nomnom = require('nomnom');
let gaze = require('gaze');
let exec = require('child_process').exec;
Expand Down
2 changes: 1 addition & 1 deletion karma-conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var isDebug = process.argv.some(function(argument) {
});

module.exports = function(config) {
var closureLibPath = 'node_modules/closure-util/.deps/library/**/';
var closureLibPath = 'node_modules/@camptocamp/closure-util/.deps/library/**/';
var olSrcPath = 'node_modules/openlayers/src/';
var olExtPath = 'node_modules/openlayers/build/ol.ext/';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"ngeo-build": "buildtools/build.js"
},
"devDependencies": {
"@camptocamp/closure-util": "1.24.0",
"angular": "1.6.6",
"angular-animate": "1.6.6",
"angular-dynamic-locale": "0.1.32",
Expand All @@ -33,7 +34,6 @@
"async": "2.5.0",
"bootstrap": "3.3.7",
"clean-css-cli": "4.1.10",
"closure-util": "camptocamp/closure-util#487fac6",
"console-control-strings": "1.1.0",
"corejs-typeahead": "1.2.1",
"coveralls": "3.0.0",
Expand Down

0 comments on commit e52d751

Please sign in to comment.