parent
0703c7ac40
commit
56f8557d15
4 changed files with 25 additions and 0 deletions
|
@ -19,3 +19,12 @@ steps:
|
|||
|
||||
commands:
|
||||
- . .drone/github-mirror.sh
|
||||
|
||||
###
|
||||
### Run a smoke test of the application by trying a full build
|
||||
###
|
||||
|
||||
- name: build
|
||||
image: node:current-alpine3.20
|
||||
commands:
|
||||
- . .drone/build-all.sh
|
||||
|
|
4
.drone/build-all.sh
Executable file
4
.drone/build-all.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
npm install typescript -g
|
||||
make
|
6
Makefile
Normal file
6
Makefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
all:
|
||||
npm install
|
||||
npm run build
|
||||
cd frontend
|
||||
npm install
|
||||
npm run build
|
|
@ -14,6 +14,12 @@ GPSTracker is a simple Webapp that consists of:
|
|||
|
||||
## Building the application
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
Or, if you want to build the backend and the frontend separately:
|
||||
|
||||
```sh
|
||||
# Backend
|
||||
npm install
|
||||
|
|
Loading…
Add table
Reference in a new issue