-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
38 lines (38 loc) · 3.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "albertasat-groundstation",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/AlbertaSat/ex2_ground_station_software.git",
"author": "Andrew Rooney <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"install_dependencies": "sudo apt-get install libzmq3-dev -y && sudo apt install libsocketcan-dev -y && sudo apt install pkg-config -y && sudo apt install python3-dev -y && sudo apt install python3-pip -y && sudo pip3 install numpy && sudo pip3 install pyserial",
"csp:clone": "rm -rf libcsp && git clone https://github.com/Albertasat/libcsp.git && cd libcsp && git clone --branch master [email protected]:AlbertaSat/ex2_sdr.git",
"uhf:clone": "rm -rf ex2_uhf_software && git clone --branch master [email protected]:AlbertaSat/ex2_uhf_software.git",
"csp:configure": "cd libcsp && python3 waf configure --with-os=posix --enable-SDR --enable-rdp --enable-crc32 --enable-hmac --enable-xtea --with-loglevel=debug --enable-debug-timestamp --enable-python3-bindings --with-driver-usart=linux --enable-examples --enable-can-socketcan --enable-if-zmqhub",
"csp:build": "cd libcsp && python3 waf build",
"uhf:build": "cd ex2_uhf_software && ./build.sh",
"build:gnuradio": "yarn csp:configure --SDR-use-gnuradio && yarn csp:build && yarn uhf:build",
"build": "yarn csp:configure --SDR-use-uart && yarn csp:build",
"csp:install": "cd libcsp && python3 waf install",
"full_build": "yarn install_dependencies && yarn csp:clone && yarn build",
"cli": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 src/cli.py",
"sat_cli": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 src/sat_cli.py",
"sat_update": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 src/updater.py",
"ftp": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 src/ftp.py",
"docGen" : "python3 src/docGen.py",
"test_sband": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/sband/test_sband.py",
"test_uhf": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/uhf/test_uhf.py",
"test_updater": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/test_updater.py",
"test_uhf_hardware": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/uhf/test_uhf_hardware.py",
"test_sband_hardware": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/sband/test_sband_hardware.py",
"test_eps": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/test_eps.py",
"test_eps_hk_only": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/test_eps_hk_only.py",
"test_dfgm": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/test_dfgm.py",
"test_iris": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/test_iris.py",
"test_audio": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build python3 test/test_audio.py",
"pytest": "LD_LIBRARY_PATH=./libcsp/build PYTHONPATH=./libcsp/build:.:./src pytest",
"beacon_decoder": "python3 src/beaconDecoder.py"
}
}