Show More
@@ -175,7 +175,6 b' let' | |||
|
175 | 175 | ''; |
|
176 | 176 | |
|
177 | 177 | preBuild = '' |
|
178 | ||
|
179 | 178 | echo "Building frontend assets" |
|
180 | 179 | ${linkNodeAndBowerPackages} |
|
181 | 180 | grunt |
@@ -183,6 +182,16 b' let' | |||
|
183 | 182 | ''; |
|
184 | 183 | |
|
185 | 184 | postInstall = '' |
|
185 | # check required files | |
|
186 | if [ ! -f rhodecode/public/js/scripts.js ]; then | |
|
187 | echo "Missing scripts.js" | |
|
188 | exit 1 | |
|
189 | fi | |
|
190 | if [ ! -f rhodecode/public/css/style.css ]; then | |
|
191 | echo "Missing style.css" | |
|
192 | exit 1 | |
|
193 | fi | |
|
194 | ||
|
186 | 195 | echo "Writing enterprise-ce meta information for rccontrol to nix-support/rccontrol" |
|
187 | 196 | mkdir -p $out/nix-support/rccontrol |
|
188 | 197 | cp -v rhodecode/VERSION $out/nix-support/rccontrol/version |
@@ -194,8 +203,6 b' let' | |||
|
194 | 203 | |
|
195 | 204 | # python based programs need to be wrapped |
|
196 | 205 | mkdir -p $out/bin |
|
197 | # rhodecode-tools | |
|
198 | ln -s ${self.rhodecode-tools}/bin/rhodecode-* $out/bin/ | |
|
199 | 206 | |
|
200 | 207 | # required binaries from dependencies |
|
201 | 208 | #ln -s ${self.python}/bin/python $out/bin |
@@ -217,14 +224,9 b' let' | |||
|
217 | 224 | |
|
218 | 225 | echo "[DONE]: enterprise-ce binary wrapping" |
|
219 | 226 | |
|
220 | if [ ! -f rhodecode/public/js/scripts.js ]; then | |
|
221 | echo "Missing scripts.js" | |
|
222 | exit 1 | |
|
223 | fi | |
|
224 | if [ ! -f rhodecode/public/css/style.css ]; then | |
|
225 | echo "Missing style.css" | |
|
226 | exit 1 | |
|
227 | fi | |
|
227 | # rhodecode-tools don't need wrapping | |
|
228 | ln -s ${self.rhodecode-tools}/bin/rhodecode-* $out/bin/ | |
|
229 | ||
|
228 | 230 | ''; |
|
229 | 231 | }); |
|
230 | 232 |
General Comments 0
You need to be logged in to leave comments.
Login now