Skip to content

Commit

Permalink
Fix assets dir generation
Browse files Browse the repository at this point in the history
  • Loading branch information
SmilyOrg committed Nov 25, 2024
1 parent 83bace2 commit 3330b09
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,16 @@ tasks:
cmds:
- migrate -database sqlite://data/photofield.cache.db -path db/migrations {{.CLI_ARGS}}

assets:dir:
dir: data/geo

assets:
deps: [assets:dir]
dir: data/geo
vars:
EMBED_GO: ../../embed-geo.go
GPKG_FILE:
sh: grep -e '//go:embed data/geo/' ../../embed-geo.go | cut -d / -f 5
sh: grep -o 'data/geo/.*gpkg' ../../embed-geo.go | cut -d / -f 3
GPKG_VER:
sh: grep -e '// tinygpkg-data release:' ../../embed-geo.go | cut -d ' ' -f 4
generates:
Expand Down

0 comments on commit 3330b09

Please sign in to comment.