Skip to content

Commit

Permalink
create install-dev.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chanshing committed Jan 16, 2024
1 parent b174730 commit af4fa3d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions install-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

# DEVELOPER INSTALLATION SCRIPT

# You must have Java Development Kit (JDK) 8 (1.8). If higher (>8) then it must
# support --release flag to pin down the version when compiling.
# Always compile with 8 (1.8) to keep backward compatibility.
# In conda, you can get a JDK version that supports --release flag:
# conda install openjdk
javac --version && # java version
javac -cp src/accelerometer/java/JTransforms-3.1-with-dependencies.jar src/accelerometer/java/*.java --release 8 && # compile java files (using release 8)
pip install -e .[dev,docs] # install in edit mode

# Download tiny sample data used for unit tests
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/data/samples/ax3/tiny-sample.cwa.gz

0 comments on commit af4fa3d

Please sign in to comment.