Skip to content

Rename executable and releases to Arduino Cloud Agent #961

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 10 commits into from
Jul 17, 2024
Prev Previous commit
Next Next commit
Change executable's name
  • Loading branch information
MatteoPologruto committed Jul 15, 2024
commit be510335d06b79e870632fcdc52d3bcd813d3fdf
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

bufferflow_tinyg_old.md

/arduino-create-agent*
!/arduino-create-agent*/
/arduino-cloud-agent*
!/arduino-cloud-agent*/
rsrc.syso

snapshot/*
Expand Down
8 changes: 4 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tasks:
cmds:
- task: go:build
vars:
PROJECT_NAME: arduino-create-agent_cli
PROJECT_NAME: arduino-cloud-agent_cli
ADDITIONAL_FLAGS: -tags cli

go:build-win:
Expand All @@ -46,7 +46,7 @@ tasks:
- rsrc -arch {{.GOARCH}} -manifest manifest.xml # GOARCH shoud be either amd64 or 386
- task: go:build
vars:
PROJECT_NAME: arduino-create-agent.exe
PROJECT_NAME: arduino-cloud-agent.exe
WIN_FLAGS: -H=windowsgui
- rm *.syso # rm file to avoid compilation problems on other platforms
vars:
Expand All @@ -58,7 +58,7 @@ tasks:
cmds:
- task: go:build
vars:
PROJECT_NAME: arduino-create-agent_cli.exe
PROJECT_NAME: arduino-cloud-agent_cli.exe
ADDITIONAL_FLAGS: -tags cli

# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/test-go-task/Taskfile.yml
Expand Down Expand Up @@ -140,7 +140,7 @@ tasks:

vars:
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/release-go-task/Taskfile.yml
PROJECT_NAME: arduino-create-agent
PROJECT_NAME: arduino-cloud-agent
# build vars
COMMIT:
sh: echo "$(git log --no-show-signature -n 1 --format=%h)"
Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
@pytest.fixture(scope="function")
def agent(pytestconfig):
if platform.system() == "Windows":
agent = str(Path(pytestconfig.rootdir) / "arduino-create-agent_cli.exe")
agent = str(Path(pytestconfig.rootdir) / "arduino-cloud-agent_cli.exe")
else:
agent = str(Path(pytestconfig.rootdir) / "arduino-create-agent")
agent = str(Path(pytestconfig.rootdir) / "arduino-cloud-agent")
env = {
# "ARDUINO_DATA_DIR": data_dir,
# "ARDUINO_DOWNLOADS_DIR": downloads_dir,
Expand Down