Skip to content

Commit

Permalink
added preliminary integration with just
Browse files Browse the repository at this point in the history
  • Loading branch information
lbialy committed Aug 27, 2024
1 parent ca4df41 commit 9d2faa7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ src/main/scala/besom/rpc
.out/

*.asc

20 changes: 20 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,26 @@ publish-local-codegen: test-codegen
publish-maven-codegen: test-codegen
scala-cli --power publish {{no-bloop-ci}} codegen --project-version {{besom-version}} {{publish-maven-auth-options}} --suppress-experimental-feature-warning

####################
# crd2besom
####################

# Compiles crd2besom module
compile-crd2besom:
scala-cli --power compile {{no-bloop-ci}} crd2besom --suppress-experimental-feature-warning

# Runs tests for crd2besom
test-crd2besom:
scala-cli --power test {{no-bloop-ci}} crd2besom --suppress-experimental-feature-warning

# Cleans crd2besom build
clean-crd2besom:
scala-cli clean crd2besom

# Build crd2besom binary
build-crd2besom:
scala-cli --power package {{no-bloop-ci}} crd2besom --suppress-experimental-feature-warning --graal -o .out/crd2besom/bin/$(arch)/crd2besom

####################
# Integration testing
####################
Expand Down
2 changes: 1 addition & 1 deletion crd2besom/project.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//> using options -deprecation -feature -Werror -Wunused:all

//> using dep org.virtuslab::besom-codegen:0.4.0-SNAPSHOT
//> using dep org.virtuslab::scala-yaml:0.3.0
//> using dep org.virtuslab::scala-yaml:0.1.0

//> using dep org.scalameta::munit:1.0.1

Expand Down

0 comments on commit 9d2faa7

Please sign in to comment.