diff options
-rw-r--r-- | .gitlab-ci.yml | 3 | ||||
-rw-r--r-- | Makefile | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 776458e..c4e5eb4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,7 +41,8 @@ build: - yarn install - node test/index.js - mkdir -p dist - - make --assume-old=data/vicmap.geojson dist/vicmap-osm.geojson + - touch --no-create data/vicmap.geojson + - make dist/vicmap-osm.geojson - make dist/vicmap-osm-flats.geojson artifacts: name: "build" @@ -13,10 +13,13 @@ data/VICMAP_PROPERTY.zip: data/vicmap/ll_gda94/sde_shape/whole/VIC/VMADD/layer/address.shp: data/VICMAP_ADDRESS.zip mkdir -p data/vicmap unzip -d data/vicmap -n $< + # update mtime so that Make doesn't see it as outdated + touch --no-create $@ data/vicmap/ll_gda94/sde_shape/whole/VIC/VMPROP/layer/property_view.shp: data/VICMAP_PROPERTY.zip mkdir -p data/vicmap unzip -d data/vicmap -n $< + touch --no-create $@ data/vicmap-property.fgb: data/vicmap/ll_gda94/sde_shape/whole/VIC/VMPROP/layer/property_view.shp ogr2ogr -f FlatGeobuf -nlt PROMOTE_TO_MULTI $@ $< |