mirror of
https://gitea.com/gitea/theme.git
synced 2024-06-02 09:51:23 +05:30
make release creates a .tar.gz directly
This commit is contained in:
parent
84c250ea12
commit
339a3c487c
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
/dist/
|
/dist/
|
||||||
|
/master.tar.gz
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/static/styles/
|
/static/styles/
|
||||||
|
|
23
Makefile
23
Makefile
|
@ -1,12 +1,11 @@
|
||||||
STYLES := static/styles
|
STYLES := static/styles
|
||||||
DIST := dist
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(STYLES) $(DIST)
|
rm -rf $(STYLES) master.tar.gz
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
|
@ -19,13 +18,13 @@ build:
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release:
|
release:
|
||||||
mkdir -p dist/
|
tar -cvzf master.tar.gz \
|
||||||
cp -r archetypes/ dist/
|
archetypes/ \
|
||||||
cp -r i18n/ dist/
|
i18n/ \
|
||||||
cp -r layouts/ dist/
|
layouts/ \
|
||||||
cp -r static/ dist/
|
static/ \
|
||||||
cp -r DCO dist/
|
DCO \
|
||||||
cp -r LICENSE dist/
|
LICENSE \
|
||||||
cp -r MAINTAINERS dist/
|
MAINTAINERS \
|
||||||
cp -r README.md dist/
|
README.md \
|
||||||
cp -r theme.toml dist/
|
theme.toml
|
||||||
|
|
Loading…
Reference in a new issue