-
Notifications
You must be signed in to change notification settings - Fork 14
Add automatic dependency setup for task dev #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -265,12 +265,35 @@ tasks: | |
| wget -q -O "$gpkg_path" https://github.com/SmilyOrg/tinygpkg-data/releases/download/{{ .GPKG_VER }}/{{ .GPKG_FILE }} | ||
| echo "downloaded to $PWD/$gpkg_path" | ||
|
|
||
| setup:ui: | ||
| desc: Install UI dependencies | ||
| dir: ui | ||
| sources: | ||
| - package.json | ||
| - package-lock.json | ||
| generates: | ||
| - node_modules/.package-lock.json | ||
|
|
||
| cmds: | ||
| - npm install | ||
|
|
||
| setup: | ||
| desc: Setup minimal dependencies for development (UI npm packages and geo assets) | ||
| deps: | ||
| - setup:ui | ||
|
Comment on lines
+280
to
+282
|
||
| - assets | ||
|
|
||
| dev: | ||
| desc: Run the API and UI in watch mode | ||
| cmds: | ||
| - task: setup | ||
| - task: dev:watch | ||
|
|
||
|
Comment on lines
+279
to
+290
|
||
| dev:watch: | ||
| desc: Run the API and UI in watch mode | ||
| deps: | ||
| - watch | ||
| - ui | ||
|
|
||
| ui: | ||
| desc: Run the UI in watch mode | ||
| dir: ui | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.