mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Generate a concatenated iD.css file
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
iD.js
|
||||
iD.min.js
|
||||
iD.css
|
||||
build
|
||||
transifex.auth
|
||||
|
||||
6
Makefile
6
Makefile
@@ -7,7 +7,8 @@ LOCALE ?= en_US
|
||||
|
||||
all: \
|
||||
iD.js \
|
||||
iD.min.js
|
||||
iD.min.js \
|
||||
iD.css
|
||||
|
||||
DATA_FILES = $(shell find data -type f -name '*.json' -o -name '*.md')
|
||||
data/data.js: $(DATA_FILES)
|
||||
@@ -71,6 +72,9 @@ iD.js: node_modules/.install Makefile
|
||||
@rm -f $@
|
||||
cat $(filter %.js,$^) > $@
|
||||
|
||||
iD.css: css/*.css
|
||||
cat css/reset.css css/map.css css/app.css css/feature-icons.css > $@
|
||||
|
||||
node_modules/.install: package.json
|
||||
npm install && touch node_modules/.install
|
||||
|
||||
|
||||
@@ -3,10 +3,7 @@
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<title>iD</title>
|
||||
<link rel='stylesheet' href='css/reset.css'>
|
||||
<link rel='stylesheet' href='css/map.css'>
|
||||
<link rel='stylesheet' href='css/app.css'>
|
||||
<link rel='stylesheet' href='css/feature-icons.css'>
|
||||
<link rel='stylesheet' href='iD.css'>
|
||||
|
||||
<!-- mobile devices -->
|
||||
<meta name='viewport' content='initial-scale=1.0 maximum-scale=1.0'>
|
||||
|
||||
Reference in New Issue
Block a user