Skip to content

Turn Sketch commands into builder API functions #265

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 15 commits into from
Jul 12, 2019
Merged

Conversation

masci
Copy link
Contributor

@masci masci commented Jul 4, 2019

Removed the following commands:

  • SketchSaver
  • SketchLoader
  • SketchSourceMerger

Added the following APIs:

  • arduino.builder.SaveSketchItemCpp
  • arduino.builder.LoadSketch
  • arduino.builder.MergeSketchSources

Packages added:

  • arduino.globals to define global const values
  • arduino.sketch to hold sketch types, will eventually include and supersede arduino.sketches

@masci masci marked this pull request as ready for review July 8, 2019 14:57
Copy link
Contributor

@rsora rsora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent job, totally endorsing the API approach instead of the OO "command" approach that can affect the understanding of how the builder modules work.

@rsora
Copy link
Contributor

rsora commented Jul 10, 2019

@ArduinoBot build this please

@ArduinoBot
Copy link
Contributor

✅ Build completed.

⬇️ Linux 64: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-146-PR265-linux64.tar.bz2

⬇️ Linux 32: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-146-PR265-linux32.tar.bz2

⬇️ Linux ARM: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-146-PR265-linuxarm.tar.bz2

⬇️ Windows: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-146-PR265-windows.zip

⬇️ OSX: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-146-PR265-osx.zip

ℹ️ To test this build:

  1. Just replace arduino-cli binary with the provided one

@mastrolinux mastrolinux merged commit 1628b39 into master Jul 12, 2019
@ArduinoBot
Copy link
Contributor

✅ Build completed.

⬇️ Linux 64: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-147-PR265-linux64.tar.bz2

⬇️ Linux 32: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-147-PR265-linux32.tar.bz2

⬇️ Linux ARM: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-147-PR265-linuxarm.tar.bz2

⬇️ Windows: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-147-PR265-windows.zip

⬇️ OSX: https://downloads.arduino.cc/PR/arduino-cli/arduino-cli-147-PR265-osx.zip

ℹ️ To test this build:

  1. Just replace arduino-cli binary with the provided one

@masci masci deleted the massi/sketch branch July 15, 2019 12:59
mastrolinux added a commit that referenced this pull request Jul 16, 2019
Turn Sketch commands into builder API functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants