mirror of
https://github.com/wassname/pyrobolearn.git
synced 2026-09-10 12:21:16 +08:00
add license, requirements, setup and install scripts
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# This bash installs the 'sloccount' command which counts source lines of code, and provides several statisticsabout this last one.
|
||||
# Once installed, go to the pyrobolearn package and type:
|
||||
# $ sloccount *.py */*.py
|
||||
|
||||
# define variables
|
||||
origindir=$PWD
|
||||
scriptdir=`dirname $0`
|
||||
|
||||
# install package
|
||||
sudo apt install sloccount -y
|
||||
|
||||
# compute statistics for pyrobolearn software
|
||||
cd $scriptdir; cd ..
|
||||
sloccount *.py */*.py
|
||||
|
||||
# return to the original directory
|
||||
cd $origindir
|
||||
Reference in New Issue
Block a user