-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconsole
executable file
·32 lines (32 loc) · 875 Bytes
/
console
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
case "$1" in
start)
docker-compose up -d
;;
stop)
docker-compose down
;;
node)
shift
docker exec -ti martinschneiderme-11ty_node node $@
;;
npx)
shift
docker exec -ti martinschneiderme-11ty_node npx $@
;;
npm)
shift
docker exec -ti martinschneiderme-11ty_node npm $@
;;
serve)
shift
docker exec -ti --env ELEVENTY_ENV=development martinschneiderme-11ty_node npx netlify dev
;;
build)
shift
docker exec -ti martinschneiderme-11ty_node npx @11ty/eleventy
;;
netlify)
shift
docker exec -ti martinschneiderme-11ty_node npx netlify $@
;;
esac