-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
49 lines (40 loc) · 931 Bytes
/
Makefile
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
43
44
45
46
47
48
49
%:
@:
test_alias=test t
t:
make test
test:
docker-compose run --rm app bundle exec rspec $(filter-out $(test_alias), $(MAKECMDGOALS))
c:
make console
console:
docker-compose run --rm app bundle exec rails c
ac:
make assets_percompile
assets_percompile:
docker-compose run --rm app bundle exec rake assets:precompile
generate_stimulus=generate_stimulus gs
gs:
make generate_stimulus $(filter-out $(generate_stimulus), $(MAKECMDGOALS))
generate_stimulus:
docker-compose run --rm app bundle exec rails generate stimulus $(filter-out $(generate_stimulus), $(MAKECMDGOALS))
su:
make stimulus_update
stimulus_update:
docker-compose run --rm app bundle exec rails stimulus:manifest:update
b:
make bash
bash:
docker-compose run --rm app bash
a:
make attach
attach:
docker attach bitcoin_wallet_web-app-1
r:
make restart
restart:
docker restart bitcoin_wallet_web-app-1
s:
make start
start:
docker-compose up -d