Mercurial > pub > ImplabJs
comparison core/build.gradle @ 29:acdcdf1a8d21
repository reorganized
author | cin |
---|---|
date | Tue, 26 Jun 2018 19:35:44 +0300 |
parents | |
children | 2dfba21cd879 40d2e49a7219 |
comparison
equal
deleted
inserted
replaced
28:d796bbbe558c | 29:acdcdf1a8d21 |
---|---|
1 | |
2 println "version: $version" | |
3 | |
4 task prepare(type: Copy) { | |
5 from('src') | |
6 from('.') { | |
7 include 'readme.md', 'license', 'history.md', 'package.json' | |
8 } | |
9 into(buildDir) | |
10 } | |
11 | |
12 task build(dependsOn: prepare) { | |
13 } | |
14 | |
15 task pack(dependsOn: build, type: Exec) { | |
16 workingDir = buildDir | |
17 | |
18 commandLine 'npm', 'pack' | |
19 } |