Skip to content

Merge wied03/ENG-2002/sms-send-set-pass #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions build.savant
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024, FusionAuth, All Rights Reserved
* Copyright (c) 2018-2025, FusionAuth, All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -50,7 +50,7 @@ target(name: "clean", description: "Cleans the build directory") {
target(name: "compile", description: "Builds archives of the source and compiled versions of the code.", dependsOn: ["setup-python"]) {
def proc = "python3 setup.py sdist bdist_wheel".execute()
proc.consumeProcessOutput(System.out, System.err)
proc.waitFor()
assert proc.waitFor() == 0
}

target(name: "int", description: "Releases a local integration build of the project", dependsOn: ["compile"]) {
Expand Down Expand Up @@ -78,11 +78,11 @@ target(name: "test", description: "Runs the project's tests", dependsOn: ["compi
target(name: "setup-python", description: "Gets the python dependencies") {
def proc1 = "python3 -m pip install --user --upgrade setuptools".execute()
proc1.consumeProcessOutput(System.out, System.err)
proc1.waitFor()
assert proc1.waitFor() == 0

def proc2 = "python3 -m pip install --user --upgrade wheel twine requests deprecated".execute()
proc2.consumeProcessOutput(System.out, System.err)
proc2.waitFor()
assert proc2.waitFor() == 0
}

/**
Expand All @@ -104,8 +104,7 @@ target(name: "publish", description: "Publishes source and built versions of the

def process = pb.start()
process.consumeProcessOutput(System.out, System.err)
process.waitFor()
return process.exitValue() == 0
assert process.waitFor() == 0
}

target(name: "release", description: "Releases a full version of the project", dependsOn: ["int"]) {
Expand Down