diff options
author | Christopher Baines <cb15g11@soton.ac.uk> | 2015-05-02 10:36:03 +0100 |
---|---|---|
committer | Christopher Baines <cb15g11@soton.ac.uk> | 2015-05-02 11:58:01 +0100 |
commit | e7e1494e3384cc5904fb79a7f6c0f5a8776f1718 (patch) | |
tree | c07af64606c0148878c92f34dcc77afe6671de73 /build-without-grunt.sh | |
parent | c0da98f318a637a91df6655b1c63385adb41e5ab (diff) | |
download | maps.southampton.ac.uk-e7e1494e3384cc5904fb79a7f6c0f5a8776f1718.tar maps.southampton.ac.uk-e7e1494e3384cc5904fb79a7f6c0f5a8776f1718.tar.gz |
Change build system to make
This is shorter, simpler, and works without random hacky javascript. The
Makefile also now incorporates the download-libraries script, and will either
use the system versions of leaflet and jquery if available, or attempt to
download them from the web.
The following web pages were helpful:
http://aeflash.com/2014-10/make.html
http://vmrob.com/colorized-makefiles/
Diffstat (limited to 'build-without-grunt.sh')
-rwxr-xr-x | build-without-grunt.sh | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/build-without-grunt.sh b/build-without-grunt.sh deleted file mode 100755 index b5956eb..0000000 --- a/build-without-grunt.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -x - -rm -fr dist -mkdir dist - -cat libraries/jquery/dist/jquery.js \ -libraries/bootstrap/dist/js/bootstrap.js \ -libraries/typeahead.js/dist/typeahead.bundle.js libraries/list.js/dist/list.js \ -libraries/leaflet-soton/resources/leaflet/dist/leaflet.js \ -libraries/leaflet-soton/resources/leaflet-markercluster/dist/leaflet.markercluster.js \ -libraries/leaflet-soton/resources/leaflet-locatecontrol/src/L.Control.Locate.js \ -libraries/leaflet-soton/resources/leaflet-hash/leaflet-hash.js \ -libraries/leaflet-soton/resources/leaflet-indoor/leaflet-indoor.js \ -libraries/leaflet-soton/resources/leaflet-route/leaflet-route.js \ -libraries/leaflet-soton/src/leaflet-soton.js \ -scripts.js > dist/scripts.js - -mkdir dist/css - -cat libraries/bootstrap/dist/css/bootstrap.css \ -libraries/leaflet-soton/resources/leaflet/dist/leaflet.css \ -libraries/leaflet-soton/resources/leaflet-markercluster/dist/MarkerCluster.css \ -libraries/leaflet-soton/resources/leaflet-locatecontrol/src/L.Control.Locate.css \ -libraries/leaflet-soton/src/leaflet-soton.css \ -style.css > dist/css/style.css - -cp index.html dist/index.html - -cp -r libraries/bootstrap/dist/fonts dist/fonts - -cp -r libraries/leaflet-soton/resources/images dist/images - -cp -r libraries/leaflet-soton/resources/images/logos dist/images/logos - -cp -r libraries/leaflet-soton/resources/leaflet-locatecontrol/src/images dist/css/images - -cp libraries/leaflet-soton/data.json dist/data.json |