Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  release   Sprache: XML

 

#!/bin/bash
set -e

confirm() {
  while true; do
    read -p "$1? Please double check. y/n? " yn
    case $yn in
      [Yy]* ) break;;
      [Nn]* ) exit 1;;
      * ) echo "Please answer yes or no.";;
    esac
  done
}

cargo fmt --all -- --check
echo "✔ code formatting looks good!"

cargo check
echo "✔ types look good"

cargo readme > README.md
echo "✔ README.md compiled"

cargo test > /dev/null
echo "✔ tests are passing"

confirm "Updated Cargo.toml"
confirm "Updated CHANGELOG.md"

version="$1"
version_without_v="`sed \"s/v//g\" <(echo $version)`"

if (echo $version | egrep "v\d+\.\d+\.\d+" > /dev/null)
then
  confirm "Ready to release $version (as $version_without_v)?"
else
  echo "Invalid version number: $1"
  exit 1
fi

version_in_toml=$(cat Cargo.toml | egrep "^version = \"$version_without_v\"")

if [[ "$version_in_toml" == "version = \"$version_without_v\"" ]]
then
  true
else
  echo "Cargo.toml isn't set to version $version_without_v"
fi

GIT_COMMITTER_DATE=$(git log -n1 --pretty=%aD) git tag -a -m "Release $version" $version
git push --tags

cargo publish --dry-run
cargo publish || true

Messung V0.5 in Prozent
C=89 H=98 G=93

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723