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