The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Guillaume Marchand (1) [Avatar] Offline
#1
Hello

I tried to find the best solution to solve this issue :

- Shell Script (build.sh) : nodejs developers do not know bash
- Makefile : Dificult to debug
- Task File YAML : Seems to work pretty well for now

Here is an example with SAM : https://github.com/gmarchand/aws-sam-ws-python-sample/blob/master/Taskfile.yml

what do you think?

Regards

G.
Yan Cui (73) [Avatar] Offline
#2
As you pointed out, there are quite a few ways to approach this and I think you should go with whatever option you are most familiar with. The central idea is to encapsulate the build steps so that it's easy to execute locally (good for debugging) and can be plugged into whatever CI tool you decide to use - that's the value of this abstraction.