-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bruce Hauman
committed
Jun 11, 2018
1 parent
cea86f8
commit 92fb179
Showing
4 changed files
with
44 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*{clj,cljc,cljs,js}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
PROJECT_FILES=../figwheel-core/project.clj ../figwheel-repl/project.clj project.clj | ||
DOC_FILES=README.md helper-content/*.md | ||
DEPS_FILES=deps.edn | ||
|
||
CHANGE_LEIN_DEPS=sed -i '' -e "s|\[com.bhauman/figwheel-\([^[:space:]]*\) \".*\"\]|[com.bhauman/figwheel-\1 \"$(VERSION)\"]|g" | ||
CHANGE_TOOLS_DEPS=sed -i '' -e "s|com.bhauman/figwheel-\([^[:space:]]*\) {:mvn/version \".*\"}|com.bhauman/figwheel-\1 {:mvn/version \"$(VERSION)\"}|g" | ||
MARKDOWN=ruby scripts/kram.rb | ||
|
||
deps-version: | ||
sed -i '' -e "s|defproject com.bhauman/figwheel-\([^[:space:]]*\) \".*\"|defproject com.bhauman/figwheel-\1 \"$(VERSION)\"|g" $(PROJECT_FILES) | ||
$(CHANGE_LEIN_DEPS) $(PROJECT_FILES) | ||
$(CHANGE_TOOLS_DEPS) $(DEPS_FILES) | ||
|
||
docs-version: | ||
$(CHANGE_LEIN_DEPS) $(DOC_FILES) | ||
$(CHANGE_TOOLS_DEPS) $(DOC_FILES) | ||
|
||
snapshot-version: deps-version | ||
|
||
release-version: deps-version docs-version | ||
|
||
helper-docs: | ||
$(MARKDOWN) helper-content/* | ||
|
||
opt-docs: | ||
clojure -Adocs | ||
|
||
gen-docs: helper-docs opt-docs | ||
|
||
install: gen-docs | ||
pushd ../figwheel-core; lein install; popd; pushd ../figwheel-repl; lein install; popd; lein install | ||
|
||
testit: | ||
lein test | ||
|
||
deploy: gen-docs install test | ||
pushd ../figwheel-core; lein deploy clojars; popd; pushd ../figwheel-repl; lein deploy clojars; popd; lein deploy clojars |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.