Skip to content

Commit 85af24d

Browse files
committed
Merge pull request #580 from OpenGeoscience/webpack-examples
Remove grunt
2 parents 06f2f01 + e09756c commit 85af24d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+955
-725
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
[*]
3+
end_of_line = lf
4+
insert_final_newline = true
5+
charset = utf-8
6+
7+
[*.js]
8+
indent_style = space
9+
indent_size = 2

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ src/version.js
33
src/sha.js
44
src/util/wigglemaps.js
55
src/util/distanceGrid.js
6+
dist/**
7+
testing/**
68
geo.js
79
**/*.min.js
10+
examples/common/js/jsonlint.js

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"key-spacing": 0,
1313
"no-unneeded-ternary": 0,
1414
"yoda": 0,
15-
"no-useless-call": 0
15+
"no-useless-call": 0,
16+
"camelcase": 0
1617
},
1718
"env": {
1819
"browser": true

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
/docs/*.py
1313
!/docs/conf.py
1414
!/docs/parse.py
15-
/dist
1615
.eslintcache
1716
/lcov
1817
/notes

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ before_install:
1414

1515
script:
1616
- npm run build
17-
- ./node_modules/.bin/grunt docs
17+
- npm run docs
1818
- mkdir _build
1919
- ctest -S cmake/travis_build.cmake -VV || true
2020
- if [ -f _build/test_failed ] ; then false ; fi

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ enable_testing()
88
set(BUILD_TESTING ON CACHE BOOL "Enable geojs testing")
99
set(PHANTOMJS_TESTS ON CACHE BOOL "Generate phantomjs unit tests.")
1010
set(ESLINT_TESTS ON CACHE BOOL "Generate eslint style tests for JS source files.")
11-
set(SELENIUM_TESTS OFF CACHE BOOL "Generate selenium unit tests.")
11+
set(SELENIUM_TESTS ON CACHE BOOL "Generate selenium unit tests.")
1212

1313
site_name(HOSTNAME)
1414

@@ -20,7 +20,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
2020

2121
set(NOTES_PATH "${CMAKE_CURRENT_BINARY_DIR}/build_notes.json")
2222

23-
# set the path where grunt builds the sources
23+
# set the path where webpack builds the sources
2424
set(GEOJS_DEPLOY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/dist")
2525

2626
function(add_geojs_test test_name)

Gruntfile.js

Lines changed: 0 additions & 303 deletions
This file was deleted.

cmake/travis_build.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
88
set(coverage_file "${CTEST_SOURCE_DIRECTORY}/dist/cobertura/phantomjs/coverage.xml")
99

1010
ctest_start("Continuous")
11-
ctest_configure()
11+
ctest_configure(
12+
OPTIONS "-DSELENIUM_TESTS=OFF"
13+
)
1214
ctest_build()
1315
ctest_test(PARALLEL_LEVEL 1 RETURN_VALUE res)
1416
if(EXISTS "${coverage_file}")

dist/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!index.html
3+
!.gitignore
File renamed without changes.

0 commit comments

Comments
 (0)