diff --git a/dev/compile.sh b/dev/compile.sh new file mode 100755 index 0000000..1ee0e78 --- /dev/null +++ b/dev/compile.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +./install-dependencies.sh + +cd ../ + +make + +npm run tauri dev diff --git a/compile.sh b/dev/install-dependencies.sh similarity index 59% rename from compile.sh rename to dev/install-dependencies.sh index 252cd48..a3615fa 100755 --- a/compile.sh +++ b/dev/install-dependencies.sh @@ -1,13 +1,15 @@ #!/bin/sh -make -cd bin/ +cd ../ + +mkdir -p bin +cd bin wget https://github.com/SuperNovaa41/isbn-lookup/releases/download/0.0.3/isbn chmod +x isbn -cd .. +cd ../ -npm install # setup NPM depedencies +npm install -npm run tauri dev +cd dev/