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 (71) [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.