UNPKG
heward
Version:
latest (0.2.0)
0.2.0
0.1.2
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
A roll20 script build and deployment tool.
heward
/
src
/
index.js
13 lines
(11 loc)
•
274 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
const
build =
require
(
'./build'
)
const
deploy =
require
(
'./deploy'
)
module
.
exports
=
function
(
options
) {
return
build
(options) .
then
(
code
=>
deploy
(code, options)) .
catch
(
err
=>
{
console
.
error
(err.
message
) process.
exitCode
=
1
return
}) }