Skip to content

Commit 1e3054a

Browse files
feat: added header
1 parent 7143f60 commit 1e3054a

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

run-build-for-gh-deps.sh

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,36 @@ log "Current directory: $(pwd)"
6969
# run_command "cd node_modules/@edx/" || exit
7070
# log "Current directory: $(pwd)"
7171
# run_command "rm -rf frontend-component-header"
72-
# run_command "git clone -b Peter_Kulko/support-design-tokens --single-branch https://github.com/PKulkoRaccoonGang/frontend-component-header.git"
73-
# run_command "cd frontend-component-header" || exit
72+
# run_command "mkdir frontend-component-header" || exit
73+
# run_command "git clone -b Peter_Kulko/support-design-tokens --single-branch https://github.com/PKulkoRaccoonGang/frontend-component-header.git frontend-component-header-temp"
74+
# run_command "cd frontend-component-header-temp" || exit
7475
# log "Current directory: $(pwd)"
7576
# run_command "npm i --force"
77+
# run_command "ls -la node_modules"
7678
# run_command "npm run build"
79+
# run_command "cp -r dist/. ../frontend-component-header/" || exit
7780
# run_command "cd ../../.." || exit
7881
# log "Current directory: $(pwd)"
7982

83+
# frontend-component-header
84+
log "Processing frontend-component-header"
85+
run_command "cd node_modules/@edx/" || exit
86+
log "Current directory: $(pwd)"
87+
run_command "rm -rf frontend-component-header"
88+
run_command "mkdir frontend-component-header" || exit
89+
run_command "git clone -b Peter_Kulko/support-design-tokens --single-branch https://github.com/PKulkoRaccoonGang/frontend-component-header.git frontend-component-header-temp"
90+
run_command "cd frontend-component-header-temp" || exit
91+
log "Current directory: $(pwd)"
92+
run_command "npm i --force"
93+
run_command "ls -la node_modules/.bin"
94+
run_command "npm run build"
95+
run_command "cp -r dist ../frontend-component-header/" || exit
96+
run_command "cp -r package.json ../frontend-component-header/" || exit
97+
run_command "cd .."
98+
run_command "rm -rf frontend-component-header-temp"
99+
run_command "cd ../.." || exit
100+
log "Current directory: $(pwd)"
101+
80102
# webpack
81103
log "Running webpack"
82104
run_command "fedx-scripts webpack"

0 commit comments

Comments
 (0)