7 Commits
0.0.2 ... main

8 changed files with 29 additions and 6 deletions

3
.gitattributes vendored Normal file
View File

@@ -0,0 +1,3 @@
*.Dockerfile linguist-vendored
*/Dockerfile linguist-vendored
*.docker-compose.yml linguist-vendored

View File

@@ -16,8 +16,6 @@ jobs:
archive: tar.gz tar.xz tar.zst archive: tar.gz tar.xz tar.zst
- target: x86_64-apple-darwin - target: x86_64-apple-darwin
archive: zip archive: zip
- target: aarch64-apple-darwin
archive: zip
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Compile and release - name: Compile and release

View File

@@ -1,14 +1,13 @@
[package] [package]
name = "turbo_open" name = "turborun"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
clap = { version = "4.0", features = ["derive"] } clap = { version = "4.0", features = ["derive"] }
crossterm = "0.23" crossterm = "0.23"
dialoguer = "0.10.4" dialoguer = "0.10.4"
[[bin]] [[bin]]
name = "turbo_open" name = "turborun"
path = "main.rs" path = "main.rs"

View File

@@ -0,0 +1,13 @@
FROM mhart/alpine-node:14
RUN apk add curl
COPY [".", "/usr/src"]
WORKDIR "/usr/src"
RUN npm install
ARG NODE_ENV
CMD if [ "$NODE_ENV" = "develop" ] ; then npm run dev ; else npm run start ; fi

View File

@@ -0,0 +1,10 @@
version: "2.9"
services:
app:
build: .
volumes:
- .:/usr/src
- /usr/src/node_modules
environment:
NODE_ENV: ${NODE_ENV}

0
README.md Normal file
View File