Skip to content

Commit

Permalink
chore: updated run-build-for-gh-deps.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Feb 27, 2025
1 parent 86b3635 commit a1dd930
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions run-build-for-gh-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,25 @@ log "Processing frontend-build"
run_command "cd node_modules/@openedx/" || exit
log "Current directory: $(pwd)"
run_command "rm -rf frontend-build"
run_command "git clone -b dcoa/design-tokens-support --single-branch https://github.com/eduNEXT/frontend-build.git"
run_command "git clone -b master --single-branch https://github.com/openedx/frontend-build.git"
run_command "cd frontend-build" || exit
log "Current directory: $(pwd)"
run_command "npm ci"
run_command "cd ../../.." || exit
log "Current directory: $(pwd)"

# Old build setup
# log "Processing frontend-build"
# run_command "cd node_modules/@openedx/" || exit
# log "Current directory: $(pwd)"
# run_command "rm -rf frontend-build"
# run_command "git clone -b dcoa/design-tokens-support --single-branch https://github.com/eduNEXT/frontend-build.git"
# run_command "cd frontend-build" || exit
# log "Current directory: $(pwd)"
# run_command "npm ci"
# run_command "cd ../../.." || exit
# log "Current directory: $(pwd)"

# paragon
log "Processing paragon"
run_command "ls -l"
Expand All @@ -57,12 +69,27 @@ run_command "rm -rf paragon"
run_command "mkdir -p paragon"
run_command "cd paragon" || exit
log "Current directory: $(pwd)"
run_command "npm pack @openedx/paragon@23.0.0-alpha.2"
run_command "tar -xzf openedx-paragon-23.0.0-alpha.2.tgz --strip-components=1"
run_command "rm openedx-paragon-23.0.0-alpha.2.tgz"
run_command "npm pack @openedx/paragon@23.4.0"
run_command "tar -xzf openedx-paragon-23.4.0.tgz --strip-components=1"
run_command "rm openedx-paragon-23.4.0.tgz"
run_command "cd ../../.." || exit
log "Current directory: $(pwd)"

# Old paragon setup
# log "Processing paragon"
# run_command "ls -l"
# run_command "cd node_modules/@openedx/" || exit
# log "Current directory: $(pwd)"
# run_command "rm -rf paragon"
# run_command "mkdir -p paragon"
# run_command "cd paragon" || exit
# log "Current directory: $(pwd)"
# run_command "npm pack @openedx/paragon@23.4.0"
# run_command "tar -xzf openedx-paragon-23.4.0.tgz --strip-components=1"
# run_command "rm openedx-paragon-23.4.0.tgz"
# run_command "cd ../../.." || exit
# log "Current directory: $(pwd)"

# frontend-component-header
log "Processing frontend-component-header"
run_command "cd node_modules/@edx/" || exit
Expand Down

0 comments on commit a1dd930

Please sign in to comment.