-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
34 lines (31 loc) · 1.19 KB
/
package.yaml
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
33
34
# git-versioning main: node-sitefile
- type: application/x-project-mpe
main: node-sitefile
id: node-sitefile
version: 0.0.6-dev # node-sitefile
environments: [ 'development' ]
pd-meta:
run:
cruft: "sh:./tools/tags.sh:*.*:bin:config:doc:example:lib:test:tools"
tags-scm-sh: "g_f='XXX\\|FIXME\\|TODO';git ls-files|while read f;do grep -n $g_f $f|grep -v 'task.*ignore'|sed 's#^#'\"$f\"'#';done" # tasks:ignore
init: "sh:./configure grunt:build-test"
test: "sh:./configure npm:run:test"
check: "sh:./tools/tags.sh:*.*:bin:config:doc:example:lib:test:tools htd:gitflow-check-doc :git:status grunt:check"
cruft: "sh:./tools/tags.sh:*.*:bin:config:doc:example:lib:test:tools"
scripts:
install:
- npm run install
test:
- NODE_ENV=development npm run test
mocha-test:
- NODE_ENV=development npm run mocha-test "$@"
docker-build-dev:
- cd tools/docker/ubuntu;
DCKR_TAG=xenial;
docker build
--build-arg DCKR_TAG=$DCKR_TAG
--build-arg sf_checkout=r0.0.7
-t node-sitefile:$DCKR_TAG . </dev/tty
docker-run-dev:
- docker run -ti -p 7011:7011 \
node-sitefile:xenial </dev/tty