File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -e
3
+ # add the adoc2md script to the path
4
+ export PATH=$PATH :$( pwd) /../scripts
3
5
4
- REGISTRY=" https://registry.npmjs.org"
5
-
6
- if [ " $1 " = " local" ]; then
6
+ # build
7
+ if [ " $1 " = " publish-local" ]; then
7
8
REGISTRY=" http://localhost:4873"
8
- fi
9
+ mvn -fae -Pio.vertx,io.reactiverse exec:exec@npm-publish
10
+ elif [ " $1 " = " publish" ]; then
11
+ REGISTRY=" https://registry.npmjs.org"
9
12
10
- # build
11
- if [ " $1 " = " local" ]; then
12
- mvn -fae -Pio.vertx,io.reactiverse -Dnpm-registry=" $REGISTRY " clean generate-sources exec:exec@typedoc exec:exec@adoc2md exec:exec@npm-publish
13
- else
14
13
echo " login as vertx"
15
14
npm adduser --registry " $REGISTRY "
16
15
mvn -fae -Pio.vertx -Dnpm-registry=" $REGISTRY " exec:exec@npm-publish
17
16
18
17
echo " login as reactiverse"
19
18
npm adduser --registry " $REGISTRY "
20
19
mvn -fae -Pio.reactiverse -Dnpm-registry=" $REGISTRY " exec:exec@npm-publish
20
+ else
21
+ mvn -fae -Pio.vertx,io.reactiverse clean generate-sources exec:exec@typedoc exec:exec@adoc2md
21
22
fi
Original file line number Diff line number Diff line change 30
30
</properties >
31
31
32
32
<dependencies >
33
+ <!-- Otptionals -->
34
+ <dependency >
35
+ <groupId >com.ongres.scram</groupId >
36
+ <artifactId >client</artifactId >
37
+ <version >1.0.0-beta.2</version >
38
+ <optional >true</optional >
39
+ </dependency >
33
40
<!-- SOURCE TO GENERATE -->
34
41
<dependency >
35
42
<groupId >${maven.groupId} </groupId >
You can’t perform that action at this time.
0 commit comments