-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake-app.mk
More file actions
42 lines (42 loc) · 889 Bytes
/
Copy pathmake-app.mk
File metadata and controls
42 lines (42 loc) · 889 Bytes
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
39
40
41
42
annotate-models:
bundle exec annotate --models
ci-setup:
bundle install
bin/rails db:create db:migrate
yarn install --cache-folder .yarn-cache
bin/rails assets:precompile
check: lint test
env:
[ -f .env.example ] && (cp .env.example .env) || (touch .env)
echo '.env' >> .gitignore
esbuild:
yarn build --watch
eslint:
npx eslint app/javascript --ext .js
eslint!:
npx eslint app/javascript --ext .js --fix
install:
bundle install
bundle exec bin/rails db:create
bundle exec bin/rails db:migrate
bundle exec bin/rails db:fixtures:load
lint:
make style
make slimlint
make eslint
make stylelint
logs:
tail -f log/development.log
open:
@ echo open http://localhost:3000
sidekiq:
bundle exec sidekiq
slimlint:
bundle exec slim-lint app/views/
style:
bundle exec rubocop
style!:
bundle exec rubocop -A
stylelint:
npx stylelint "**/*.scss" "!**/vendor/**"
webpack: esbuild