From d21224ac4c64a925803e728387a56c01f8c7e3cf Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Tue, 21 Nov 2023 13:30:17 +0000 Subject: [PATCH] Moved the first course work to a new folder --- .drone.yml | 96 +++++++++---------- .../10letterwordslist.txt | 0 ag01598.txt => firstcw/ag01598.txt | 0 {cw => firstcw/cw}/cw.tex | 0 {cw1 => firstcw/cw1}/build.zig | 0 .../cw1}/src/10letterwordslist.txt | 0 {cw1 => firstcw/cw1}/src/main.zig | 0 {cw2 => firstcw/cw2}/build.zig | 0 {cw2 => firstcw/cw2}/src/main.zig | 0 {cw3-alt => firstcw/cw3-alt}/build.zig | 0 {cw3-alt => firstcw/cw3-alt}/src/main.zig | 0 .../cw3-factors}/build.zig | 0 .../cw3-factors}/english.txt | 0 .../cw3-factors}/src/english.txt | 0 .../cw3-factors}/src/main.zig | 0 {cw3-search => firstcw/cw3-search}/build.zig | 0 .../cw3-search}/english.txt | 0 .../cw3-search}/src/english.txt | 0 .../cw3-search}/src/main.zig | 0 {cw3 => firstcw/cw3}/build.zig | 0 {cw3 => firstcw/cw3}/src/main.zig | 0 linting.sh => firstcw/linting.sh | 0 main.bib => firstcw/main.bib | 0 main.ts => firstcw/main.ts | 0 notes.txt => firstcw/notes.txt | 0 package.json => firstcw/package.json | 0 pnpm-lock.yaml => firstcw/pnpm-lock.yaml | 0 27 files changed, 48 insertions(+), 48 deletions(-) rename 10letterwordslist.txt => firstcw/10letterwordslist.txt (100%) rename ag01598.txt => firstcw/ag01598.txt (100%) rename {cw => firstcw/cw}/cw.tex (100%) rename {cw1 => firstcw/cw1}/build.zig (100%) rename {cw1 => firstcw/cw1}/src/10letterwordslist.txt (100%) rename {cw1 => firstcw/cw1}/src/main.zig (100%) rename {cw2 => firstcw/cw2}/build.zig (100%) rename {cw2 => firstcw/cw2}/src/main.zig (100%) rename {cw3-alt => firstcw/cw3-alt}/build.zig (100%) rename {cw3-alt => firstcw/cw3-alt}/src/main.zig (100%) rename {cw3-factors => firstcw/cw3-factors}/build.zig (100%) rename {cw3-factors => firstcw/cw3-factors}/english.txt (100%) rename {cw3-factors => firstcw/cw3-factors}/src/english.txt (100%) rename {cw3-factors => firstcw/cw3-factors}/src/main.zig (100%) rename {cw3-search => firstcw/cw3-search}/build.zig (100%) rename {cw3-search => firstcw/cw3-search}/english.txt (100%) rename {cw3-search => firstcw/cw3-search}/src/english.txt (100%) rename {cw3-search => firstcw/cw3-search}/src/main.zig (100%) rename {cw3 => firstcw/cw3}/build.zig (100%) rename {cw3 => firstcw/cw3}/src/main.zig (100%) rename linting.sh => firstcw/linting.sh (100%) rename main.bib => firstcw/main.bib (100%) rename main.ts => firstcw/main.ts (100%) rename notes.txt => firstcw/notes.txt (100%) rename package.json => firstcw/package.json (100%) rename pnpm-lock.yaml => firstcw/pnpm-lock.yaml (100%) diff --git a/.drone.yml b/.drone.yml index 30c700f..9156a6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,57 +8,57 @@ steps: commands: - bash linting.sh - - name: Build UPDS-1 - commands: - - cd cw - - pdflatex cw.tex - # Prepare bib - - /usr/bin/vendor_perl/biber cw - # Compile twice for the table of contents and for bib text - - pdflatex cw.tex - - pdflatex cw.tex - - cd - +# - name: Build UPDS-1 +# commands: +# - cd cw +# - pdflatex cw.tex +# # Prepare bib +# - /usr/bin/vendor_perl/biber cw +# # Compile twice for the table of contents and for bib text +# - pdflatex cw.tex +# - pdflatex cw.tex +# - cd - -# - name: Build Report -# commands: -# - cd report -# - cp ../upds-1/UPDS-content.tex UPDS-1-content.tex -# - cp ../upds-2/UPDS-content.tex UPDS-2-content.tex -# - pdflatex report.tex -# # Prepare bib -# - /usr/bin/vendor_perl/biber report -# # Compile twice for the table of contents and for bib text -# - pdflatex report.tex -# - cd - -# -# - name: Generate text -# commands: -# - pnpm i -# - pnpm ts-node main.ts report/report.tex +# # - name: Build Report +# # commands: +# # - cd report +# # - cp ../upds-1/UPDS-content.tex UPDS-1-content.tex +# # - cp ../upds-2/UPDS-content.tex UPDS-2-content.tex +# # - pdflatex report.tex +# # # Prepare bib +# # - /usr/bin/vendor_perl/biber report +# # # Compile twice for the table of contents and for bib text +# # - pdflatex report.tex +# # - cd - +# # +# # - name: Generate text +# # commands: +# # - pnpm i +# # - pnpm ts-node main.ts report/report.tex - - name: gitea_release - environment: - TOKEN: - from_secret: token - commands: - - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" - - tea r rm -y current || echo "Release not found" - # - tea r c --title "Latest Report" --asset report/report.pdf --asset upds-1/UPDS12-1.pdf --asset upds-2/UPDS12-2.pdf --asset results.txt --asset poster/poster.pdf current - - tea r c --title "1st cw work" --asset cw/cw.pdf first-cw-work +# - name: gitea_release +# environment: +# TOKEN: +# from_secret: token +# commands: +# - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" +# - tea r rm -y current || echo "Release not found" +# # - tea r c --title "Latest Report" --asset report/report.pdf --asset upds-1/UPDS12-1.pdf --asset upds-2/UPDS12-2.pdf --asset results.txt --asset poster/poster.pdf current +# - tea r c --title "1st cw work" --asset cw/cw.pdf first-cw-work - - name: Remove current on failure - environment: - TOKEN: - from_secret: token - commands: - - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" - - tea r rm -y current || echo "Release not found" - trigger: - status: - - failure - when: - status: - - failure +# - name: Remove current on failure +# environment: +# TOKEN: +# from_secret: token +# commands: +# - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" +# - tea r rm -y current || echo "Release not found" +# trigger: +# status: +# - failure +# when: +# status: +# - failure #- name: latest # environment: diff --git a/10letterwordslist.txt b/firstcw/10letterwordslist.txt similarity index 100% rename from 10letterwordslist.txt rename to firstcw/10letterwordslist.txt diff --git a/ag01598.txt b/firstcw/ag01598.txt similarity index 100% rename from ag01598.txt rename to firstcw/ag01598.txt diff --git a/cw/cw.tex b/firstcw/cw/cw.tex similarity index 100% rename from cw/cw.tex rename to firstcw/cw/cw.tex diff --git a/cw1/build.zig b/firstcw/cw1/build.zig similarity index 100% rename from cw1/build.zig rename to firstcw/cw1/build.zig diff --git a/cw1/src/10letterwordslist.txt b/firstcw/cw1/src/10letterwordslist.txt similarity index 100% rename from cw1/src/10letterwordslist.txt rename to firstcw/cw1/src/10letterwordslist.txt diff --git a/cw1/src/main.zig b/firstcw/cw1/src/main.zig similarity index 100% rename from cw1/src/main.zig rename to firstcw/cw1/src/main.zig diff --git a/cw2/build.zig b/firstcw/cw2/build.zig similarity index 100% rename from cw2/build.zig rename to firstcw/cw2/build.zig diff --git a/cw2/src/main.zig b/firstcw/cw2/src/main.zig similarity index 100% rename from cw2/src/main.zig rename to firstcw/cw2/src/main.zig diff --git a/cw3-alt/build.zig b/firstcw/cw3-alt/build.zig similarity index 100% rename from cw3-alt/build.zig rename to firstcw/cw3-alt/build.zig diff --git a/cw3-alt/src/main.zig b/firstcw/cw3-alt/src/main.zig similarity index 100% rename from cw3-alt/src/main.zig rename to firstcw/cw3-alt/src/main.zig diff --git a/cw3-factors/build.zig b/firstcw/cw3-factors/build.zig similarity index 100% rename from cw3-factors/build.zig rename to firstcw/cw3-factors/build.zig diff --git a/cw3-factors/english.txt b/firstcw/cw3-factors/english.txt similarity index 100% rename from cw3-factors/english.txt rename to firstcw/cw3-factors/english.txt diff --git a/cw3-factors/src/english.txt b/firstcw/cw3-factors/src/english.txt similarity index 100% rename from cw3-factors/src/english.txt rename to firstcw/cw3-factors/src/english.txt diff --git a/cw3-factors/src/main.zig b/firstcw/cw3-factors/src/main.zig similarity index 100% rename from cw3-factors/src/main.zig rename to firstcw/cw3-factors/src/main.zig diff --git a/cw3-search/build.zig b/firstcw/cw3-search/build.zig similarity index 100% rename from cw3-search/build.zig rename to firstcw/cw3-search/build.zig diff --git a/cw3-search/english.txt b/firstcw/cw3-search/english.txt similarity index 100% rename from cw3-search/english.txt rename to firstcw/cw3-search/english.txt diff --git a/cw3-search/src/english.txt b/firstcw/cw3-search/src/english.txt similarity index 100% rename from cw3-search/src/english.txt rename to firstcw/cw3-search/src/english.txt diff --git a/cw3-search/src/main.zig b/firstcw/cw3-search/src/main.zig similarity index 100% rename from cw3-search/src/main.zig rename to firstcw/cw3-search/src/main.zig diff --git a/cw3/build.zig b/firstcw/cw3/build.zig similarity index 100% rename from cw3/build.zig rename to firstcw/cw3/build.zig diff --git a/cw3/src/main.zig b/firstcw/cw3/src/main.zig similarity index 100% rename from cw3/src/main.zig rename to firstcw/cw3/src/main.zig diff --git a/linting.sh b/firstcw/linting.sh similarity index 100% rename from linting.sh rename to firstcw/linting.sh diff --git a/main.bib b/firstcw/main.bib similarity index 100% rename from main.bib rename to firstcw/main.bib diff --git a/main.ts b/firstcw/main.ts similarity index 100% rename from main.ts rename to firstcw/main.ts diff --git a/notes.txt b/firstcw/notes.txt similarity index 100% rename from notes.txt rename to firstcw/notes.txt diff --git a/package.json b/firstcw/package.json similarity index 100% rename from package.json rename to firstcw/package.json diff --git a/pnpm-lock.yaml b/firstcw/pnpm-lock.yaml similarity index 100% rename from pnpm-lock.yaml rename to firstcw/pnpm-lock.yaml