Skip to content

Commit c70b4d6

Browse files
authored
chore: move example to examples directory (#210)
* chore: move example to examples directory * fix basic-example build
1 parent ecef92e commit c70b4d6

File tree

13 files changed

+9
-60
lines changed

13 files changed

+9
-60
lines changed

.github/dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ updates:
1212
- "*"
1313

1414
- package-ecosystem: "gradle"
15-
directory: "/example/example1"
15+
directory: "/examples/basic-examples"
1616
schedule:
1717
interval: "monthly"
1818
groups:

example/README.md

Lines changed: 0 additions & 49 deletions
This file was deleted.
-60.2 KB
Binary file not shown.

example/Makefile renamed to examples/basic-examples/Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
all: build
22

3-
project_name=example1
3+
project_name=.
44
openfga_version=latest
55
language=java
66

77
build:
8-
cd "${project_name}" && \
9-
./gradlew -P language=$(language) build
8+
./gradlew -P language=$(language) build
109

1110
run:
12-
cd "${project_name}" && \
13-
./gradlew -P language=$(language) run
11+
./gradlew -P language=$(language) run
1412

1513
run-openfga:
1614
docker pull docker.io/openfga/openfga:${openfga_version} && \
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)