File tree Expand file tree Collapse file tree 3 files changed +34
-4
lines changed
Expand file tree Collapse file tree 3 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 11TAG? =12-alpine
2+ CONTAINER? =transcoder-buildchain
3+ DEST? =../../sites/nystudio107/web/docs/transcoder
24
5+ .PHONY : dist docker docs install npm
6+
7+ dist : docker docs install
8+ docker container run \
9+ --name ${CONTAINER} \
10+ --rm \
11+ -t \
12+ -v ` pwd` :/app \
13+ nystudio107/${CONTAINER} :${TAG} \
14+ run build
315docker :
416 docker build \
517 . \
6- -t nystudio107/transcoder-buildchain :${TAG} \
18+ -t nystudio107/${CONTAINER} :${TAG} \
719 --build-arg TAG=${TAG} \
820 --no-cache
21+ docs :
22+ docker container run \
23+ --name ${CONTAINER} \
24+ --rm \
25+ -t \
26+ -v ` pwd` :/app \
27+ nystudio107/${CONTAINER} :${TAG} \
28+ run docs
29+ rm -rf ${DEST}
30+ mv ./docs/docs/.vuepress/dist ${DEST}
31+ install :
32+ docker container run \
33+ --name ${CONTAINER} \
34+ --rm \
35+ -t \
36+ -v ` pwd` :/app \
37+ nystudio107/${CONTAINER} :${TAG} \
38+ install
939npm :
1040 docker container run \
11- --name transcoder-buildchain \
41+ --name ${CONTAINER} \
1242 --network plugindev_default \
1343 --rm \
1444 -t \
1545 -p 8080:8080 \
1646 -v ` pwd` :/app \
17- nystudio107/transcoder-buildchain :${TAG} \
47+ nystudio107/${CONTAINER} :${TAG} \
1848 $(filter-out $@ ,$(MAKECMDGOALS ) )
1949% :
2050 @:
Original file line number Diff line number Diff line change 130130 "check-types" : " tsc" ,
131131 "debug" : " nodemon -L" ,
132132 "dev" : " nodemon -L" ,
133+ "docs" : " cd ../docs && rm -f package-lock.json && npm install && npm run docs:build" ,
133134 "lint" : " tsc --noEmit && eslint '../../src/**/*.{js,ts,vue}' --fix"
134135 },
135136 "version" : " 1.0.0"
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ module.exports = {
22 title : 'Transcoder Documentation' ,
33 description : 'Documentation for the Transcoder plugin' ,
44 base : '/docs/transcoder/' ,
5- dest : '../../../sites/nystudio107/web/docs/transcoder' ,
65 themeConfig : {
76 displayAllHeaders : true ,
87 sidebar : [
You can’t perform that action at this time.
0 commit comments