Skip to content

Commit

Permalink
feat: adiciona script inicial
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed May 7, 2024
1 parent befae3c commit daf865f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/setup-local
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# Install mix dependencies
if ! test -d deps; then
mix deps.get
fi

if ! test -d _build; then
mix compile
fi

# Install node dependencies
if ! test -d assets/node_modules && test -f assets/package.json; then
npm ci -p ./assets && mix assets.build
fi

0 comments on commit daf865f

Please sign in to comment.