Skip to content

Add Custom Script Engine - #185

Merged
tmspzz merged 44 commits into
tmspzz:masterfrom
BalestraPatrick:feature/engines-complete
May 18, 2019
Merged

Add Custom Script Engine#185
tmspzz merged 44 commits into
tmspzz:masterfrom
BalestraPatrick:feature/engines-complete

Conversation

@BalestraPatrick

@BalestraPatrick BalestraPatrick commented May 16, 2019

Copy link
Copy Markdown
Contributor

I continued working on #148 and fixed the conflicts with master that arose from the latest release, so I am creating a new PR for an easier review directly with master. Let me know if you prefer otherwise and I have another branch that doesn't have the conflicts fixed yet, so I could make a PR to feature/engines first and then to master. 👍

I did some extensive testing by even prototyping a simple NodeJS server and a script that does the communication part taking in list, upload and download commands and it's working as expected.

I also threw in some random typos and documentation fixes noticed in reading the existing code.
I didn't run Brittany yet, so I am sure there will be a ton of fixes done to my bad Haskell 😄

Regarding integration tests, I wrote engine.sh that quickly simulates an engine that simply stores the artifacts in a local folder. Added a bunch of integration tests covering all cases:

  • current-framework-engine-yml.bats
  • current-framework-named-engine-yml.bats
  • dynamic-frameworks-engine-yml.bats
  • static-frameworks-engine-yml.bats

I also renamed current-framework-yaml.bats to current-framework-yml.bats and current-framework-named-yaml.bats to current-framework-named-yml.bats for consistency.

Fixes #146

Comment thread src/Lib.hs Outdated
Comment thread src/Lib.hs
Repository owner deleted a comment from hlintBot May 17, 2019
Comment thread src/Lib.hs
Repository owner deleted a comment from hlintBot May 17, 2019
@BalestraPatrick

Copy link
Copy Markdown
Contributor Author

@blender PR is now green since I fixed the integration the tests and a crash with INI configurations in cd1eaa5. I added some information to the README in 9c453c9 since I wanted to document how it works, we can always adjust later when a new version is cut.

Repository owner deleted a comment from hlintBot May 18, 2019
Comment thread README.md Outdated
Comment thread README.md
BalestraPatrick and others added 2 commits May 18, 2019 21:01
Co-Authored-By: Tommaso Piazza <196761+blender@users.noreply.github.com>
Repository owner deleted a comment from hlintBot May 18, 2019
@tmspzz

tmspzz commented May 18, 2019

Copy link
Copy Markdown
Owner

PR looks good to me!
Excellent job and amazing contribution! 🎉

@thii

thii commented May 31, 2019

Copy link
Copy Markdown
Contributor

@blender Could you release this to CocoaPods?

@tmspzz

tmspzz commented May 31, 2019

Copy link
Copy Markdown
Owner

Sure! @thii there is a pre-release version attached to the releases. Did you have a chance to try it?

@thii

thii commented May 31, 2019

Copy link
Copy Markdown
Contributor

I've tried it and found no problems so far.

@tmspzz

tmspzz commented May 31, 2019

Copy link
Copy Markdown
Owner

@thii it's out

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.

Support synchronizing with a custom script / executable

4 participants