Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version management #90

Merged
merged 4 commits into from May 17, 2021
Merged

Add version management #90

merged 4 commits into from May 17, 2021

Conversation

bCoder778
Copy link
Contributor

No description provided.

@bCoder778 bCoder778 requested review from lochjin and dindinw May 6, 2021 01:19
Copy link
Collaborator

@forchain forchain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot generate new build after removed

 rm build/bin/qitmeer-wallet
make

make: `build' is up to date.

Copy link
Collaborator

@forchain forchain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion

By your current implementation , we cannot view qitmeer version and the binary location by make command as Qitmeer does.

Done building.
  qitmeer version 0.9.2+dev-ac02016 (Go version go1.16.3))
Run "./build/bin/qitmeer" to launch.

So if I made a build before, there is no way for me to find where the build is.

make: `build' is up to date.

Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Outdated

EXECUTABLES=$(UNIX_EXECUTABLES) $(WIN_EXECUTABLES)

COMPRESSED_EXECUTABLES=$(UNIX_EXECUTABLES:%=%.tar.gz) $(WIN_EXECUTABLES:%.exe=%.zip) $(WIN_EXECUTABLES:%.exe=%.cn.zip)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need .*win.cn package, it exists for the historical reason to contain different startup scripts and useful only for the qitmeer. please cleanup the unnecessary compressed package.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Makefile Outdated
%.cn.zip: %.exe
@echo Build $(@).cn.zip
@echo zip $(EXECUTABLE)-$(VERSION)-$(OS)-$(ARCH)
@zip -j $(EXECUTABLE)-$(VERSION)-$(OS)-$(ARCH).cn.zip "$<" script/win/start.bat
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not work since the file does not exist.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@rm -f *.zip
@rm -f *.tar.gz
@rm -f ./build/bin/qitmeer-waellt
@rm -rf ./build/release

webui: statik npm
cd assets/src && npm run build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

webui is required for a clean build. please re-arrange your makefile

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@dindinw dindinw merged commit db9bb95 into Qitmeer:0.10-dev May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants