Unverified Commit f8c9c8d4 authored by Alexandre Burgoni's avatar Alexandre Burgoni
Browse files

Fix: typescript_compile script

parent 06d3d4e4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -27,8 +27,7 @@ typescript_compile:
    # In case the user doesn't have a valid tsconfig.json
    # We use the initialize from TSC to do so
    - cd ${CI_PROJECT_DIR}/${PROJECT_ROOT}
    - if [ ! -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/tsconfig.json" ]; then tsc --init; fi
    - if [ ! -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/jsconfig.json" ]; then tsc --init; fi
    - if [ ! -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/tsconfig.json" ] && [ ! -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/jsconfig.json" ]; then tsc --init; fi

    - tsc -p "${CI_PROJECT_DIR}/${PROJECT_ROOT}/tsconfig.json" --outDir "${CI_PROJECT_DIR}/${TARGET_OUTPUT}"
  artifacts: