Explorar el Código

Add some helpful scripts

Ben Firshman hace 12 años
padre
commit
7b925b8eac
Se han modificado 3 ficheros con 19 adiciones y 0 borrados
  1. 3 0
      script/clean
  2. 14 0
      script/release
  3. 2 0
      script/test

+ 3 - 0
script/clean

@@ -0,0 +1,3 @@
+#!/bin/sh
+find . -type f -name '*.pyc' -delete
+

+ 14 - 0
script/release

@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -xe
+
+if [ -z "$1" ]; then
+    echo 'pass a version as first argument'
+    exit 1
+fi
+
+git tag $1
+git push --tags
+python setup.py sdist upload
+
+

+ 2 - 0
script/test

@@ -0,0 +1,2 @@
+#!/bin/sh
+nosetests