feat: usage of ESM modules imports (instead of CommonJS) (#14)

This commit is contained in:
Divlo authored and GitHub committed 2022-04-23 18:41:14 +02:00
1 parent c502c17e7c
commit 104c61935a
44 files changed
+6623 -5171

No files matched your search

+7 -4
View File
@@ -1,4 +1,7 @@
FROM gcc:11.2.0
COPY ./ ./
RUN gcc -Wall -Wextra -Werror *.c --output=solution
CMD ["./solution"]
FROM gcc:11.3.0
WORKDIR /usr/app
COPY ./ /usr/app
RUN gcc ./*.c* -o solution.exe -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors
CMD ["./solution.exe"]