mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
* Upload stylesheet.
svn path=/nixpkgs/trunk/; revision=579
This commit is contained in:
parent
a7055cbe52
commit
233c7bd0f6
@ -18,11 +18,12 @@ testexpr=${storeexprs[1]}
|
||||
|
||||
if ! nix-store -vvvv -r "$srcexpr" > /dev/null; then exit 1; fi
|
||||
|
||||
if ! nix-store -vvvv -r "$testexpr" > /dev/null; then exit 1; fi
|
||||
|
||||
if ! outpath=$(nix-store -qn "$srcexpr"); then exit 1; fi
|
||||
|
||||
uploader="http://losser.st-lab.cs.uu.nl/~eelco/cgi-bin/upload.pl/"
|
||||
|
||||
curl --silent -T "$outpath/manual.html" "$uploader" || exit 1
|
||||
curl --silent -T "$outpath/style.css" "$uploader" || exit 1
|
||||
curl --silent -T "$outpath"/nix-*.tar.bz2 "$uploader" || exit 1
|
||||
|
||||
if ! nix-store -vvvv -r "$testexpr" > /dev/null; then exit 1; fi
|
||||
|
@ -29,3 +29,4 @@ echo "copying result..."
|
||||
mkdir $out || exit 1
|
||||
cp -p $pkgname.tar.gz $pkgname.tar.bz2 $out || exit 1
|
||||
cp -p doc/manual/book.html $out/manual.html || exit 1
|
||||
cp -p doc/manual/style.css $out/ || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user