-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.remotemon.yaml
98 lines (83 loc) · 1.78 KB
/
.remotemon.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
var:
proj: types
which: test
watch: &watch
- src
- test/*/*.ls
rm.dist:
description:
- delete all .js files in dist folder.
local: rm -rf dist/*/*
rm.src:
description:
- delete all .js files in src folder.
local:
rm src/*/*.js
gulpfile:
watch:
- ./src/gulpfile.ls
description:
- watch gulpfile.ls and run gulp default (only).
local: &gulpfile
- lsc -bco . src/gulpfile.ls
- gulp default --silent
# - gulp watch
gulp.watch:
- gulp watch
build:
- gulp default --silent
test.all:
watch: false
description:
- run all test files for all projects.
local:
- *gulpfile
- |-
for i in test/*/*.js
do
node $i || exit 1
echo $i
done
- echo 'done!'
test.proj:
watch: true
description:
- run all test files for proj=X.
local:
- *gulpfile
- |-
for i in test/${var.proj}/*.js
do
node $i || exit 1
done
test.file:
watch: true
description:
- run a specific test file for proj=X which=Y.
local:
# - time gulp default
- |
gulp default
node ./test/${proj}/${which}.js || exit 1
# - gulp default --silent
gulp.test.file:
watch:
- dist
- test/*.ls
local:
- node ./test/${proj}/${which}.js || exit 1
dev.install:
description: install all dev dependencies.
local:
- npm install gulp -g
- pnpm install livescript
- pnpm install gulp-tap
- pnpm install gulp-livescript
- pnpm install gulp-rename
- pnpm install gulp-yaml
- pnpm install gulp-replace
- pnpm install gulp-util
- pnpm install gulp-changed
version.update:
watch: false
local: update-version src/package.yaml nutzen version